go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

error getting request data: message type xxxxx has no known field named xxx

Open todayforever opened this issue 2 years ago • 3 comments

grpc is encapsulated as http request and uses post + json request. If the fields in the request body are not in the message defined by proto, error getting request data will appear: message type xxxx has no known field named xxxxx

The reason?

github.com/fullstorydev/[email protected]\invoke.go

todayforever avatar Dec 09 '22 02:12 todayforever

Shall we ignore the unknown fields?

kevwan avatar Jan 05 '23 14:01 kevwan

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jan 06 '24 01:01 github-actions[bot]

i met same time, how can i ignore another unknown fields?

willis-yang avatar Mar 07 '24 07:03 willis-yang