grpc-ecosystem/grpc-gateway

registry: descriptor.Field.FieldMessage is never set

Open

#1136 opened on Feb 17, 2020

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Go (16,971 stars) (2,250 forks)batch import
bughelp wanted

Description

Hi! While fixing a bug in github.com/utrack/clay I've noticed that bindings' Body.FieldPath[].Target.FieldMessage is always nil.

I don't see any references to FieldMessage in grpc-gateway@v1.12.1, so I don't believe there are any bugs related to it, so it can be dropped.

However, the field itself looks useful and is worth to be populated IMO. I'll make a PR if you decide to keep it in the registry.

Contributor guide