smallrye-graphql
smallrye-graphql copied to clipboard
Tool for generating dynamic client code from GraphQL queries
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.
There is an experimental generator for the typesafe client.
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.