Skip to content

proto: Unmarshal should silently skip unknown map fields #403

@awalterschulze

Description

@awalterschulze

https://github.com/golang/protobuf/blob/master/proto/decode.go#L868

I think we should, since maps should be interchangeable with repeated messages containing a key and value field. The messages with extra fields should also be compatible with maps, since they are compatible with messages with only a key and a value.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions