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.28k stars 748 forks source link

Better GraphQL client support #3872

Closed cyberhck closed 3 years ago

cyberhck commented 3 years ago

Hi, first of all, ever since I saw that wriging a .graphql operation file and then being able to generate this I absolutely loved strawberryshake.

However there are times where this generated client simply isn't enough.

Where I've ran into problems is when I'm having to do different auth schemes based on what query I'm firing. (client credentials vs jwt for example)

We could do one of two things:

If I'm missing something, please let me know :slightly_smiling_face:

cyberhck commented 3 years ago

In my case, I'm trying to forward my incoming request's auth header onto another subgraph.

michaelstaib commented 3 years ago

This is coming with this issue:

https://github.com/ChilliCream/hotchocolate/issues/3467

You can add your thoughts there.