You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, protoyaml (and protojson and protobuf) would only ignore fields explicitly marked as 'ignore' instead of all unknown fields. This would allow the safe removal of old fields without risking uncaught typos (similar to how reserved fields ids keep track of old fields to avoid reuse). However, protoyaml should have this option for feature parity with protojson/buf.
Similar to:
It would be good to have a
DiscardUnknown
option onprotoyaml.UnmarshalOptions
.bufbuild/buf#2714 is the motivation for this issue.
The text was updated successfully, but these errors were encountered: