Skip to content

how specify that an integer requires a minimum/maximum? #60

@emnpiex

Description

@emnpiex

with protocols like Minecraft, some strings or collections are limited to a maximum received length. this behaviour does not appear to be supported by ProtoDef. is there any reason not to add:

{ maximum?: Integer, minimum?: Integer }

arguments to the int types?

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