Skip to content

[BUG] [Nim] Enums With Negative Values Broken #22641

@winrid

Description

@winrid

This is not supported:

  "DigestEmailFrequency": {
    "enum": [-1, 0, 1, 2],
    "type": "number"
  }

as it takes the abs value of -1 and thus you end up with a malformed enum.

Working on a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions