postgraphile-nest
postgraphile-nest copied to clipboard
`Playground` vs`graphiql` option
Hello there!
Thank you very much, I was about to write very similar stuff for Admin Panel purpose (will most likely publish ra-data-postraphile pkg as well)
~~as wiki mentions: playground (optional): set this to true to enable the Playground interface (Defaults to false)
- for me this does not work. However, using "native" option graphiql: true
takes correct effect - but only if provided together with playground
. This is rather strange effect, not sure if desired or has any practical reasons.~~
I just noticed that if playground
and graphiql
are both true
, both paths are available. I believe it should be consistent with postrgraphi and keep original route instead of playground
🤔
Would be happy to assist in "fixing" (or documenting) this is you can drop any hint.
Thanks!
@kgajowy Hi! At the time I started this project, I was really in favor for playground instead of graphiql. With this in mind, I simply added playground to the project while still keeping postgraphile's graphiql. This means both dev tools can be used at the same time. I am in favor of disabling postgraphile's graphiql. So I encourage you to create a PR for this! :)