Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to pass graphileBuildOptions when using postgraphile-cli #182

Open
hutber opened this issue Jun 26, 2022 · 1 comment
Open

Unable to pass graphileBuildOptions when using postgraphile-cli #182

hutber opened this issue Jun 26, 2022 · 1 comment

Comments

@hutber
Copy link

hutber commented Jun 26, 2022

Hey guys

I am using the filter and its an absolute game changer. However I cannot append buildOptions that I'm aware.

npx postgraphile -c 'postgres://hutber:pass@localhost/unsal' --cors -p 4006 --watch --enhance-graphiql --dynamic-json --export-schema-graphql schema.graphql --append-plugins postgraphile-plugin-connection-filter

@mattbretl
Copy link
Member

(Sorry for the delayed response!)

That's correct, you'll have to use library mode if you want to customize the plugin.

If that's a deal breaker, I'd suggest forking the repo and hard-coding the desired defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants