This is a code generator designed to work with graphqlc. The intent is to take a gqlgen configuration file and produce identical output allowing a seamless transition from gqlgen to graphqlc.
Install graphqlc.
go get -u github.com/samlitowitz/graphqlc-gen-gqlgen/cmd/graphqlc-gen-gqlgen
graphqlc --gqlgen_out=config=.gqlgen.yml:. schema.graphql
See examples directory for more use cases (mirrors gqlgen). Type extension is currently unsupported.