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

Cannot interact with GraphQL toolbar #710

Open
spartanhooah opened this issue Apr 14, 2024 · 2 comments
Open

Cannot interact with GraphQL toolbar #710

spartanhooah opened this issue Apr 14, 2024 · 2 comments

Comments

@spartanhooah
Copy link

spartanhooah commented Apr 14, 2024

I have installed the plugin, and in the tool window, my types appear in the schema discovery summary. However, when I open the graphql file where my queries are defined, the only button that I can click on the toolbar is the "Open Configuration File" button. What step have I missed in setting things up? My code can be found here.

@vepanimas
Copy link
Collaborator

@spartanhooah hi! The disabled buttons you see are related to making queries and schema introspection from the remote URL. If you need this, you should specify a URL in the config. There are two ways to do this 1, 2.

That's a UX issue, maybe we need to hide those disabled buttons to prevent confusion.

@spartanhooah
Copy link
Author

I think it's also a documentation issue. The section on the toolbar doesn't mention that it's only useful for remote URLs. It'd be great if we could make a query against a schema that's in the open file, kind of like the built-in HTTP client that exists in IntelliJ IDEA Ultimate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants