smallrye-graphql icon indicating copy to clipboard operation
smallrye-graphql copied to clipboard

Tool for generating dynamic client code from GraphQL queries

Open jmartisk opened this issue 3 years ago • 2 comments

Perhaps it would be useful to have a script that consumes a GraphQL query and transforms that into a Java snippet for the dynamic client. Writing queries for the dynamic client can get quite cumbersome, this could alleviate some of the pain.

jmartisk avatar Sep 10 '21 12:09 jmartisk

There is an experimental generator for the typesafe client.

t1 avatar Sep 10 '21 12:09 t1

Yeah, just with this one I'd probably go really lightweight - it's supposed to generate just snippets, not self-contained Java classes, so it could be a script written in Python or something.

jmartisk avatar Sep 10 '21 12:09 jmartisk