-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
feature requestRequest for new featureRequest for new feature
Description
Is your feature request related to a problem? Please describe.
We've got CarryingUnknownFields to see if there's unknown fields, but what we could do with it besides reflecting them back to wire data? Currently, _unknownFields is not exported, and no methods expose it. So technically, there's no way to touch them without going to unsafe.
Describe the solution you'd like, and alternatives you've considered
Expose _unknownFields field, or provide a method to expose it.
In addition, since field ids can be unordered, implement new method on type unknown.Fields to find the field id and field type, or matcher that calls back whether there's matched field id and field type.
Additional context
No additional context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestRequest for new featureRequest for new feature