Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with validating schemas with "$id"s in @rjsf/validator-ajv8 #3232

Merged
merged 2 commits into from Nov 11, 2022

Commits on Nov 5, 2022

  1. Fix issues with validating schemas with "$id"s in @rjsf/validator-ajv8

    @rjsf/validator-ajv8
    - BREAKING: No longer attempt to validate data against invalid schemas
    - Use pre-compiled validator from Ajv if the schema has an $id
    - isValid: Use rootSchema.$id over the default value if it exists (Ajv uses it anyway)
    - isValid: Log warning on compilation error
    nickgros committed Nov 5, 2022
    Copy the full SHA
    94bb432 View commit details
    Browse the repository at this point in the history
  2. Add notes to changelog

    nickgros committed Nov 5, 2022
    Copy the full SHA
    d78849a View commit details
    Browse the repository at this point in the history