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.16k stars 736 forks source link

Banana Cake Pop Batching support #5245

Open SGStino opened 2 years ago

SGStino commented 2 years ago

Is your feature request related to a problem?

From what i understand (from the unit tests), is that you can run one query, and grab output variables from it as inputs for the next query in the batch. However, BCP doesn't seem to execute the following query in one batch, instead you get a dropdown to execute one or the other.

query getHero {
    hero(episode: EMPIRE) {
        friends {
            nodes {
                id @export(as: ""abc"")
            }
        }
    }
}
query getCharacter {
    character(characterIds: $abc) {
        name
    }
}

It's not just BCP, but other GraphQL clients seem to have trouble with this, like Apollo or Insomnia.

The solution you'd like

I'd like to be able to test query batches with BCP instead of having to make a custom HTTP Call in Insomnia/Postman with both queries in a batch.

Product

Banana Cake Pop

vickytr44 commented 2 years ago

When will this feature be released?