Graphql-go: Is there a plan for a code generator?

Created on 19 Mar 2018  路  5Comments  路  Source: graph-gophers/graphql-go

Hi @tonyghita

Is there a plan for a code generator based on this library?
Thank you.

Most helpful comment

Yes, although I don't have time to provide an open source solution at the moment. It's possible to build one fairly quickly using the introspection package here and Go's excellent text/template standard library.

I encourage you to check out https://github.com/vektah/gqlgen in the meantime, if you need something with codegen out of the box today.

All 5 comments

Yes, although I don't have time to provide an open source solution at the moment. It's possible to build one fairly quickly using the introspection package here and Go's excellent text/template standard library.

I encourage you to check out https://github.com/vektah/gqlgen in the meantime, if you need something with codegen out of the box today.

Hi! I'm trying to make code generator for it.
https://github.com/abihf/graphql-codegen

hello,

There is also this if anyone interested: https://github.com/DealTap/graphql-gen-go

Any word on this @tonyghita? Or is it still advised to use gqlgen?

I don't have anything ready to publish and use, or the time to work on one to do so. A good code generation-based library I'd recommend is https://github.com/99designs/gqlgen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vladimiroff picture vladimiroff  路  6Comments

AndreasBackx picture AndreasBackx  路  4Comments

tonyghita picture tonyghita  路  3Comments

bsr203 picture bsr203  路  7Comments

CreatCodeBuild picture CreatCodeBuild  路  4Comments