You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only if you put the plugin installation on a global scope the schema introspection could work. This is very annoying because for some reason without schema introspection there will be no fetch/customQuery action attached to the store.
Example
Create a nuxt plugin vuex-orm.ts in plugins/vuex-orm.ts:
I have found the root cause: you have populated the ORM modules & fields & friends before plugin instantiation. Then the state of the mutators/actions had became read-only.
Synopsis
Only if you put the plugin installation on a global scope the schema introspection could work. This is very annoying because for some reason without schema introspection there will be no fetch/customQuery action attached to the store.
Example
Create a nuxt plugin vuex-orm.ts in
plugins/vuex-orm.ts
:Attach the plugin to the Nuxt config. Now, if you load up the Vue debugger, you will see that the ORM actions aren't there...very strange indeed.
Related
#134 (Probably)
The text was updated successfully, but these errors were encountered: