GraphiQL using the cli won't load the mutations, but it works on the server
alansikora opened this issue · 2 comments
alansikora commented
Hey!
I've been trying to use this plugin on my local environment using postgraphile cli, but I've been having a hard time setting it up.
This is my rc file:
module.exports = {
options: {
graphileBuildOptions: {
connectionFilterRelations: true,
},
plugins: [
"postgraphile-plugin-connection-filter",
"postgraphile-upsert-plugin"
]
},
};
For some reason, event leaving only postgraphile-upsert-plugin
enabled, it still won't load/autocomplete upsert mutations.
When debugging, it says it was loaded:
Do you know the reason this might be happening?
cdaringe commented
You might need to enable schema watching, I’m not sure
cdaringe commented
Please consult the tests. They demonstrate successful setup and consumption