Closed artificial-aidan closed 5 months ago
I was thinking this might need an option, as it is technically breaking existing behavior, even if it is just erroring on fewer things.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
88c57d8
) 86.72% compared to head (6457ef3
) 88.16%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for contributing!
Allows for unknown anys to be mapped. The current default behavior will always try and unmarshal protobuf any messages, which can cause an issue if the contained message is not in the descriptor pool. This adds an option to only map into any messages if their is a subfield in the mask, which allows copying of an any message as a whole from struct to struct