Skip to content

Feature request: Unsigned integers #172

Open
@Timple

Description

@Timple

Would it make sense to allow uint as a type, next to int?

It would reduce this:

    buttons:
      type: int_array
      validation:
        lower_element_bounds<>: 0

To this:

    buttons:
      type: uint_array

So internally it could do a sanity check on the sign and (for c++) cast to an uint32_t.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions