3 次代碼提交 4ace38b98d ... b124db2991

作者 SHA1 備註 提交日期
  Jason Gorst b124db2991 remove redirect from characterByIdQuery 3 天之前
  Jason Gorst e0799b4e9a remove normalizer logging 3 天之前
  Jason Gorst 7c5e7b87ea disable normalize entityCache serializer plugin 3 天之前
共有 3 個文件被更改,包括 1 次插入4 次删除
  1. 0 2
      app/app.vue
  2. 0 0
      app/plugins/disabled/normalizePlugin.js
  3. 1 2
      app/queries/character.js

+ 0 - 2
app/app.vue

@@ -16,8 +16,6 @@
 
 <script setup>
 import { PiniaColadaDevtools } from "@pinia/colada-devtools"
-
-useLogNormalizer()
 </script>
 
 <style>

+ 0 - 0
app/plugins/normalizePlugin.js → app/plugins/disabled/normalizePlugin.js


+ 1 - 2
app/queries/character.js

@@ -18,6 +18,5 @@ export const characterOptionsQuery = defineQueryOptions({
 export const characterByIdQuery = defineQueryOptions((id) => ({
   key: characterQueryKeys.byId(id),
   query: () => useEmit("character:read", id),
-  normalize: true,
-  redirect: { entityType: "character" }
+  normalize: true
 }))