Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can't retrieve schema for GraphQL #1272

Closed
rolurq opened this issue Nov 22, 2018 · 10 comments
Closed

[Bug] Can't retrieve schema for GraphQL #1272

rolurq opened this issue Nov 22, 2018 · 10 comments
Assignees
Labels
B-bug Bug: general classification N-help Needs: Help N-investigation Needs: investigation

Comments

@rolurq
Copy link

rolurq commented Nov 22, 2018

  • Insomnia Version: 6.2.0
  • Operating System: Linux knight 4.18.0-2-amd64 Workspace Management #1 SMP Debian 4.18.10-2 (2018-10-07) x86_64 GNU/Linux

Details

Insomnia fails to retrieve the GraphQl schema. It shows this error

schema

I took the graphql body in the request sent by insomnia and tried it in Insomnia itself and it works.

test

So I guess the issue must be in the code that works with the fetched schema.

@welcome
Copy link

welcome bot commented Nov 22, 2018

👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 🎁, please provide real
use cases that would benefit. 👪

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

@gschier
Copy link
Contributor

gschier commented Nov 22, 2018

Would you be able to provide a public GraphQL endpoint to test this with? I have a feeling that the graphql dependency might just need updating but I can't tell

@gschier gschier changed the title Cant't retrieve schema for GraphQL [Bug] Can't retrieve schema for GraphQL Nov 22, 2018
@rolurq
Copy link
Author

rolurq commented Nov 23, 2018

@gschier sorry, I'm unable to provide the public endpoint 😞

@rolurq
Copy link
Author

rolurq commented Nov 27, 2018

@gschier Any updates on this?

@gschier
Copy link
Contributor

gschier commented Dec 12, 2018

There isn't much I can do if I can't reproduce it. I just updated the GraphQL dependencies though so maybe that will fix it 😄

@jeromedalbert
Copy link

jeromedalbert commented Feb 5, 2019

@gschier A similar thing happens to me on Insomnia 6.3.2; maybe this is a separate issue.

When I modify my GQL API, the API URL stays the same so there is no auto-refresh. I have to point-and-click to manually refetch the schema for warnings to disappear.

Refetching the schema somehow automatically, like in previous versions, would be nice in development, where I modify the schema in my codebase and test it straight away with Insomnia.

Or having a keyboard shortcut so that people don't need to point-and-click to refresh their schemas (still manual but less painful).

@gschier
Copy link
Contributor

gschier commented Mar 7, 2019

Ya I think a way to enable periodic refresh would be good to add back

@gschier gschier added Accepted E-good-first-issue Experience required: Beginner / New N-help Needs: Help labels Mar 7, 2019
@seanwash
Copy link
Contributor

seanwash commented Dec 4, 2019

@gschier or maybe a keyboard shortcut for refreshing a schema might be nice to have.

@wdawson wdawson closed this as completed Jun 30, 2021
@Kong Kong locked and limited conversation to collaborators Jun 30, 2021
@wdawson wdawson added B-bug Bug: general classification and removed E-good-first-issue Experience required: Beginner / New labels Jul 1, 2021
@Kong Kong unlocked this conversation Jul 1, 2021
@wdawson
Copy link
Contributor

wdawson commented Jul 1, 2021

Sorry folks! This was incorrectly tagged as a feature request along with other bugs. I'm going back through and cleaning up, sorry for the inconvenience.

@seanwash or @jeromedalbert if you're still looking for this enhancement, feel free to check out the Ideas in GitHub Discussions.

@wdawson wdawson reopened this Jul 1, 2021
@filfreire filfreire added the N-investigation Needs: investigation label Jul 25, 2022
@kreosus kreosus self-assigned this Sep 2, 2022
@kreosus
Copy link
Contributor

kreosus commented Sep 2, 2022

Hi @rolurq
Do you see the same behavior with our latest release located here: https://github.com/Kong/insomnia/releases/tag/core%402022.6.0-beta.4

@kreosus kreosus closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification N-help Needs: Help N-investigation Needs: investigation
Projects
None yet
Development

No branches or pull requests

7 participants