Dgo support for GraphQL queries

Moved from GitHub dgo/126

Posted by vadavallipavan:

Dgraph now supports the standard graphQL queries and mutations , can you please advice the roadmap for dgo client to support the same -how can we use the generated query* , mutate* functions generated

parasssh commented :

cc: @pawanrawal @MichaelJCompton

MichaelJCompton commented :

Hi, yeah this is a great question for Dgo. Fo other languages, there’s really great GraphQL client support, for Go, not so much. There are libs like this but we should be able to do better with strong typing etc.

I wonder if we could take an approach like gqlgen (https://github.com/99designs/gqlgen) and generate a typed Go client given a GraphQL schema.