-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Could ajv be *optionally* swapped with @cfworker/json-schema
?
#3269
Comments
@cfworker/json-schema
?@cfworker/json-schema
?
@fregante Does this still occur with the avj8 validator provided in the beta? Also, one definitely CAN build a validator implementation that uses |
According to this issue, v8 still uses unsafe evaluation, so the issue still exists: ajv-validator/ajv#1830 |
Lovely... Are you interested in building a validator for |
We definitely need a custom validator at this point. We cannot precomile as our forms are themselves form so dynamically from an api, so cannot precompile. @heath-freenome |
Prerequisites
What theme are you using?
bootstrap-4
Is your feature request related to a problem? Please describe.
The issue is that I can't use RJSF in a context that disallows
unsafe-eval
, as described a few times before.Describe the solution you'd like
Could RJSF offer validation based on @cfworker/json-schema, for example? I noticed that was made in the v5 branch towards this goal:
This could be offered as an alternative to the built-in ajv-based validation
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: