ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.19k stars 739 forks source link

Change schema source used by BCP #5806

Open Temppus opened 1 year ago

Temppus commented 1 year ago

Product

Banana Cake Pop

Is your feature request related to a problem?

Is there possibility for BCP to use ?sdl GET endpoint for schema fetching instead of getting schema by introspection ? I am asking because when authorization is enabled I would like to have schema available even when user is not authorized yet. Currently we have authorization on Query itself and thus schema can not be fetched before auth.

It seems like we could workaround it by defining authorization for each query root node explicitly and then schema can be fetched, but it would ne nicer if we could specify this GET endpoint which is not guarded by authorization without modifying our code.

The solution you'd like

Have a way to specify schema endpoint to use by BCP ideally somewhere in GraphQLToolOptions.

michaelstaib commented 1 year ago

We are working on this.

artola commented 1 year ago

@michaelstaib Tracked in BCP backlog.