-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
I have defined a custom Adapter like this:
import {ConnectionMode, DefaultAdapter, ArgumentMode} from '@vuex-orm/plugin-graphql';
export default class CustomAdapter extends DefaultAdapter {
getConnectionMode () {
return ConnectionMode['PLAIN']
}
getArgumentMode () {
return ArgumentMode.LIST
}
}
But when i do a fetch the request contains still the filter argument:
query Users($organisation: ID!) {
users(filter: {organisation: $organisation}) {
username
fullName
userProfile {
hourlyCost
currentOrganisation {
id
name
__typename
}
__typename
}
__typename
}
}
Any idea how to fix this?
I had the same problem with ConnectionMode and got it to work after a while with ConnectionMode['PLAIN']
Metadata
Metadata
Assignees
Labels
No labels