nautilus / gateway

A federated api gateway for graphql services. https://gateway.nautilus.dev/
MIT License
397 stars 49 forks source link

Custom config in GraphQL Playground #158

Closed ashwin153 closed 2 years ago

ashwin153 commented 2 years ago

Currently, it is not possible to pass in config to the GraphQL Playground.

https://github.com/nautilus/gateway/blob/5d984b36965ab4c5a1903388ffcb1d58277f56cf/graphiql.go#L493

However, I would like to be able to customize things like settings (e.g., set "request.credentials": include). Would it be possible to allow users to inject configuration when creating the GraphQL Playground?

JohnStarich commented 2 years ago

Thanks for opening @ashwin153! This was added in v0.2.8