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: Expose the internal ajv variable in the validator implementation classes #3991

Merged
merged 2 commits into from
Dec 6, 2023

Commits on Dec 5, 2023

  1. Fix: Expose the internal ajv variable in the validator implementati…

    …on classes
    
    Fixes: rjsf-team#3972 indirectly by exposing the `ajv` variable for use in the issue
    - In `@rjsf/ajv6`, updated `AJV6Validator` to make the `ajv` variable public and changed the return of the `customizeValidator()` function to remove the interface return
    - In `@rjsf/ajv8`, updated `AJV8Validator` to make the `ajv` variable public and changed the return of the `customizeValidator()` function to remove the interface return
      - Also removed some `@ts-expect-error` tags that are no longer needed due to the exposed variable
    - Updated the `CHANGELOG.md` accordingly
    heath-freenome committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    0bf8fe2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0b1552 View commit details
    Browse the repository at this point in the history