insomnia
insomnia copied to clipboard
[Bug] GraphQL Query variables, are market as not appear in any GraphQL query, but they are!
Insomnia Version: 7.0.3 Operating System: Windows 10 x64
Describe the bug
When access stored graphql request, all Query variables
are marked as not appear in any graphql query. But they are, because were used before and stored in a request.
To Reproduce
- Create a new GraphQL request with some variables
- Run query, it need to work with variables.
- Now, close insomnia or go to another query
- Return to request created before, and check the variables. You will see all variables marked as invalid
- Just retype the same variable name, and all variables will works again
Expected behavior As the stored request has valid query variables, so the query works fine. BUT... all queries are marked as invalid
Screenshots
Desktop (please complete the following information):
- OS: Windows 10 64 bits
- Installation Method: Windows installer
- App Version: 7.0.3
Additional context
Everything works... just the variables are marked as does not appear in any query. But if you check in my screenshot, the updatePost
query contains the variables, none of them are missing.
Same problem here. Did you find a solution?
same problem here, but the mutation is not being executed
same problem here, this problem has been around for a year now I think
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
similar issue
Same issue here
Is this issue still reproducible in the latest version of Insomnia?
Yes. I can get you a screenshot tomorrow if you need it. Thx.
Same issue: I've got the error despite everything working fine. I'm using version v2022.7.2
on MacOS.
Though, I've noticed something strange: the error disappears when the schema is loaded ("schema fetched just now"). When I switch tab and switch back again, the error comes back.
See the video (example with Github GraphQL API):
https://user-images.githubusercontent.com/47944500/212424831-2bb1a3d8-63b0-41d2-a3a8-5b8faf9ac121.mov
I've only just started experiencing this, and I also found that manually fetching the schema wasn't working and I couldn't view the documentation.
I've always had "Automatic Fetch" turned off for schema introspection.
I turned "Automatic Fetch" back on, and it recognised the variables were there and the documentation started to work again.
Same issue here, I first noticed it in version 2022.7.0 and the issue persists in version 2022.7.5
I thought I'm doing something wrong. I new to Insomnia and just dowloaded the app, have same issue
same issue here
Version: Insomnia 2022.7.3
Build date: 1/16/2023
OS: Linux x64 6.1.18-200.fc37.x86_64
Electron: 22.0.0
Node: 16.17.1
V8: 10.8.168.20-electron.0
Architecture: x64
Same here, and I can not clear variables. After removed it, I send request and it show again