Skip to content

Deprecate and remove dataPath from errors #46

@richfitz

Description

@richfitz

After #41 is merged, our verbose error format deviates from that of ajv, which has renamed dataPath to instancePath (see migration notes).

  • add a ajv_errors class or similar to the errors element in the verbose output
  • remove the dataPath element
  • add a $.ajv_errors and [[.ajv_errors method that converts dataPath to instancePath with a warning

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