Skip to content

Proto 3.15 supports optional again! #109

@huan

Description

@huan

According to https://stackoverflow.com/a/62566052/1123955, we can get rid of the wrapper in our protos.

Presence tracking was added to proto3 in response to user feedback, both from inside Google and from open-source users. The proto3 wrapper types were previously the only supported presence mechanism for proto3. Users have pointed to both efficiency and usability issues with the wrapper types.

See: https://github.com/protocolbuffers/protobuf/blob/v3.12.0/docs/implementing_proto3_presence.md#background

This change will be a BREAKING CHANGE so it should be discussed later.

Useful Resources

Blockers

More details

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions