graphiql icon indicating copy to clipboard operation
graphiql copied to clipboard

GraphiQL explorer does not look at default values set in Python

Open kortegel opened this issue 1 year ago • 2 comments

Reproduction steps:

  1. Create a query with Python that has an input parameter that defaults to 1 (ex. a pagination query that defaults to "page: 1")
  2. Open that query in the GraphiQL interface explorer
  3. Click on the checkbox next to the input parameter and notice the value placed into the field

Expected Results The input parameter would be set to 1

Actual Results The input parameter is set to 10

kortegel avatar Aug 30 '22 17:08 kortegel

can you show an example query that fails?

acao avatar Sep 01 '22 07:09 acao

Hello @kortegel 👋 Echoing the above: Can you give more context about the issue you're facing? Some questions where I'm stuck:

  • What do you mean with "create a query with Python"? Are you using a specific library or framework? If yes, how does this integrate with GraphiQL?
  • A concrete example would be awesome, a link to a GraphiQL instance where we can reproduce this would be even better!

Sidenote: As you mentioned using the GraphiQL explorer, this issue might be caused by that package (which lives in a different repo) and not by GraphiQL.

thomasheyenbrock avatar Sep 02 '22 12:09 thomasheyenbrock