js-graphql-intellij-plugin
js-graphql-intellij-plugin copied to clipboard
[Feature request] Transform subscriptions into queries when executing from plugin
👋 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.