Skip to content

Make unevaluatedProperties error message as clear as additionalProperties message #182

Description

@plocket

The additionalProperties error message names the additional property: Property arbitrary_key is not expected to be here.

The unevaluatedProperties error message doesn't: unevaluatedProperties must NOT have unevaluated properties. It also shows the wrong line number - it's the line for the containing object, not for the property itself.

Is it possible to make the second more like the first? It was a really useful message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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