ysugimoto/grpc-graphql-gateway

Feature request: descriptions (for types and fields)

mbrowne opened this issue · 1 comments

It would be great if this library provided a way to specify descriptions in protobuf that get included when generating the GraphQL schema:

https://spec.graphql.org/June2018/#sec-Descriptions

Thanks for the issue, Now we don't support to generate GraphQL schema (FYI: I'm using get-graphql-schema https://github.com/prisma-labs/get-graphql-schema to generate schema for actual service).

BYW, how can we support for thiis? the generated execution code has a description that comes from protobuf field comment https://github.com/ysugimoto/grpc-graphql-gateway/blob/master/protoc-gen-graphql/template.go#L65

If you have any opinion, let me know.