yaade icon indicating copy to clipboard operation
yaade copied to clipboard

GraphQL Support?

Open sschneider-ihre-pvs opened this issue 1 year ago • 5 comments

I know I could technically use a POST request to do the same. Is there any support for graphql planned?

sschneider-ihre-pvs avatar Feb 07 '24 11:02 sschneider-ihre-pvs

It is not currently on the road map. What would be the individual features that you'd have in mind for this?

jonrosner avatar Feb 07 '24 14:02 jonrosner

using queries, mutations and variables and also have the scripts and envs, that is missing in hoppscotch also

sschneider-ihre-pvs avatar Feb 07 '24 15:02 sschneider-ihre-pvs

I think this should be doable without too much effort, as it's basically just building a REST request from different sources. The problem is I've never worked with GraphQL and so it's hard for me to know what users would want. In Hoppscotch and Postman for example I see that there is also a "Schema" section. Is this required?

If you or someone else in the community would be interested, I think this would be a pretty good task to take on as a PR.

jonrosner avatar Feb 07 '24 15:02 jonrosner

Let's take https://rickandmortyapi.com/graphql as an example, the schema section will give you the documentation on the left and will provide most likely possibilities for auto complete and such

sschneider-ihre-pvs avatar Feb 08 '24 05:02 sschneider-ihre-pvs

image

sschneider-ihre-pvs avatar Feb 08 '24 05:02 sschneider-ihre-pvs