Soluto / stitch

Stitch is a no-code GraphQL tool for your existing APIs and data sources
MIT License
29 stars 8 forks source link

Extend playground config support #322

Closed bahrambagher closed 3 years ago

bahrambagher commented 3 years ago

This change should allow for a more extensive configurable playground. e.g.

GRAPHQL_PLAYGROUND: | 
                    {
                        "settings": {
                            "request.credentials": "same-origin"
                        }
                     }

It would be a breaking change to whoever is adding false to the playground through this syntax GRAPHQL_PLAYGROUND: '"false"', which would evaluate to truthy after the change.

To provide a false value it would need to be like this GRAPHQL_PLAYGROUND: "false"(single or double quoted)