graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Banana Cake Pop Batching support

Open SGStino opened this issue 3 years ago • 1 comments

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

SGStino avatar Jul 18 '22 12:07 SGStino

When will this feature be released?

vickytr44 avatar Sep 01 '22 17:09 vickytr44