Closed fesh-biz closed 5 years ago
That's because connectionQueryMode
was deprecated with Release 1.0.0-rc.34.
You can change it now via the adapter pattern now.
However the documentation was not deployed for some reason. I've fixed that. Sorry for that! :)
In case someone is still wondering how to set up connection mode. https://vuex-orm.github.io/plugin-graphql/guide/adapters.html#basics
// custom-adapter.js
import { DefaultAdapter, ConnectionMode } from "@vuex-orm/plugin-graphql"
export default class CustomAdapter extends DefaultAdapter {
constructor() {
super()
}
getConnectionMode() {
return ConnectionMode.EDGES
}
// Your code
}
// store.js
import CustomAdapter from './custom-adapter';
// ...
VuexORM.use(VuexORMGraphQL, {
database,
adapter: new CustomAdapter(),
});
I had installed quasar and configured vuex-orm, but I can't get rid of
nodes
from queriesI keep getting this
Connection Query Mode is 2 by config
This is my config of
store
But any my changes to
connectionQueryMode
doesn't make any affectspackacge.json
strings is