grpc-ecosystem/grpc-gateway

registry: descriptor.Field.FieldMessage is never set

開放

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

 (5 則留言) (0 個反應) (0 位負責人)Go (2,250 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (16,971 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南