ysugimoto / grpc-graphql-gateway

A protoc plugin that generates graphql execution code from Protocol Buffers.
MIT License
382 stars 50 forks source link

Fix #61 and #63 #62

Closed qwerty-v closed 7 months ago

qwerty-v commented 7 months ago

Fixes #61 My suggestion to that problem is: make protoc happy by having that feature enabled, but otherwise just ignore those keywords when parsing.

qwerty-v commented 7 months ago

The second commit fixes #63. After looking into the issue, turns out that in a template file the argument passed to the FieldType and FieldTypeInput aren't what the function GraphqlGoType expects: the argument passed ($.RootPackage.Path) is a string, which already has been stripped away with everything after ; Will separate the two issues a little bit later

qwerty-v commented 7 months ago

going to close now, will put everything in a dedicated branch for each one of the fixes