Skip to content

Expose optional keyword for proto3 #68

@mwatson2

Description

@mwatson2

Hi @mafintosh - optional in proto3 has the meaning that the absence of the field can be distinguished from its default value. At the moment this module is swallowing all occurrences of the optional keyword so that users cannot see when fields have been marked this way.

I would suggest adding an optional boolean beside required and repeated. required would still always be false for proto3.

Would you accept a PR with this change ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions