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

[Feature request] Transform subscriptions into queries when executing from plugin #708

Open
damianpetla opened this issue Mar 20, 2024 · 0 comments

Comments

@damianpetla
Copy link

👋 If possible, it would be very useful to my team allowing to execute subscriptions like queries.

In my case our schema always come with same subscriptions and queries so for testing subscriptions I manually change them to query, run it and then switch back to subscription.

The way I imagine this to work, is detecting if there is a query available with the same name like subscription, update graphql file on the fly and try to run it. There would probably have to be some warning that it's dev responsibility at the end that it is not 100% safe.

Apologies if it's not the best place to ask for features. If there is better one I will happily report it there.

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

1 participant