Skip to content

Validation failure of enum value #135

@pcpiela

Description

@pcpiela

After calling the render method with the following schema and initial data, calling the validate method returns an incorrect result of true.

schema:
{
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": ["good"]
}
}
}

Data to be validated:

{
"id": "bad"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions