graphiql
graphiql copied to clipboard
GraphiQL explorer does not look at default values set in Python
Reproduction steps:
- Create a query with Python that has an input parameter that defaults to 1 (ex. a pagination query that defaults to "page: 1")
- Open that query in the GraphiQL interface explorer
- 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
can you show an example query that fails?
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.