grpc-ecosystem/grpc-gateway

registry: descriptor.Field.FieldMessage is never set

Open

#1,136 建立於 2020年2月17日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Go (16,971 star) (2,250 fork)batch import
bughelp wanted

描述

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.

貢獻者指南