Skip to content

Provide a way to specify types for enums #35

@ajrudzitis

Description

@ajrudzitis

I have a type which uses two bytes to specify a type, although all the currently allowed values fit into a single byte. Vest seems to try to use the smallest type possible, however, this does not match the format.

My current workaround is to add a value to the enum, for example:

    FORCE_U16 = 0x0100,

However, it would be useful if the Vest syntax allowed me to be explicit. I could not find if this feature existed based on the documentation.

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