Skip to content

(Re)add enum support #39

@arnetheduck

Description

@arnetheduck

As part of the cleanup in #36, enum suppot was removed to simplify the implementation - support for dealing with protobuf enums should eventually be readded, though it must conform to:

https://developers.google.com/protocol-buffers/docs/proto3#enum and https://developers.google.com/protocol-buffers/docs/proto2#enum respectively - in particular, defaults and unknown values need special handling compared to Nim enum.

In the meantime, enum fields can be encoded as int32/pint or uint32/pint with constants for values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions