adapter.getRootQueryName is not a function
See original GitHub issueI use CustomAdapter
import DefaultAdapter from '@vuex-orm/plugin-graphql'
export class CustomAdapter extends DefaultAdapter {
static getConnectionMode () {
return 'plain'
}
}
VuexORM.use(VuexORMGraphQL, {
database,
debug: process.env.NODE_ENV !== 'production',
adapter: CustomAdapter
})
And get error
r.adapter.getRootQueryName is not a function
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
adapter is not a function (EDIT: after 1st request) #2968 - GitHub
So if I send the POST and then the POST again, the 2nd time it fails. TypeError: adapter is not a function at...
Read more >Axios error : TypeError: adapter is not a function - Stack Overflow
I'm making a web extension using webextension-polyfill and vuejs (axios for requesting). I needed to make requests from my content script ...
Read more >Mocking Apex Wire Adapter - "emit is not a function"
The answer was that I needed to upgrade the @salesforce/sfdx-lwc-jest package version. This also meant upgrading the rest of the ...
Read more >TypeError: (e.adapter || s.adapter) is not a function - Workers
I'm trying to run a request with axios & I get the following error when await axios.get(.... Has anyone encounter this problem too?...
Read more >"builder.rimraf is not a function" upon build : r/sveltejs - Reddit
I'm getting the following error when trying to use the node adapter for a production build. > Using @sveltejs/adapter-node > builder.rimraf ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Documentation needs updating… I stumbled upon the same issue as above.
https://vuex-orm.github.io/plugin-graphql/guide/adapters.html#basics
Removed the “static” modifier from getConnection Mode, and now works