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
If the proto file contains messages with optional fields the classes generated by protogen contain ShouldSerialize*** and Reset*** methods. I understand the purpose of the ShouldSerialize methods but what is the purpose of Reset*** methods?
The text was updated successfully, but these errors were encountered:
basically ShouldSerialize* and Reset* form two parts of a pre-existing pattern-based API used by multiple parts of the framework; we don't use them, but it makes some sense to emit them both; however, we can perhaps make this optional; cross-referencing #1134
If the proto file contains messages with optional fields the classes generated by protogen contain ShouldSerialize*** and Reset*** methods. I understand the purpose of the ShouldSerialize methods but what is the purpose of Reset*** methods?
The text was updated successfully, but these errors were encountered: