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

Add Rerun Introspection Query to Actions on Save #734

Open
d4rky-pl opened this issue Jan 22, 2025 · 2 comments
Open

Add Rerun Introspection Query to Actions on Save #734

d4rky-pl opened this issue Jan 22, 2025 · 2 comments

Comments

@d4rky-pl
Copy link

As the name suggests, it would be amazing if rerunning the introspection query could happen on file save.

@vepanimas
Copy link
Collaborator

Hi! Thank you for the proposal. Could you please elaborate on which files it should be triggered? After editing GraphQL configuration files?

@d4rky-pl
Copy link
Author

@vepanimas preferably a glob pattern 🤔

My use-case: I have schema set to schema: http://localhost:4000/api in graphql.config.yml and run the server locally when developing. Whenever I edit my API code the schema changes but the extension doesn't pick it up automatically so I need to rerun the introspection query manually practically all the time when building new features. It can be worked around with File Watchers and dumping the schema to a file but it would be nice if this was supported natively.

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

No branches or pull requests

2 participants