Skip to content

Centralized validation error messages aren't always great #72

Description

@slifty

Right now the error message rendered when validating references the name of the validation function; unfortunately this name might get smooshed / moved around during transpiling.

This results in things like:

ValidationError: Invalid JSON object structure when validated by 'validate12'

It'd be good to figure out a better way to produce meaningful validation failure messages.

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