Skip to content

Audit RPC enum handling #565

@jharveyb

Description

@jharveyb

Spinoff of #557. IIUC the generated type for RPC enums is int32, but we usually want those to be uints, possibly of a smaller size.

Handling these correctly would involve rejecting negative values or those larger than the target type. Feels like we could do this with generics and comparing the RPC type and target type.

We may have a similar issue with non-enums but this is an obvious starting point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions