rjsf-team/react-jsonschema-form

Could ajv be *optionally* swapped with `@cfworker/json-schema`?

Open

#3269 aperta il 2 dic 2022

Vedi su GitHub
 (15 commenti) (0 reazioni) (0 assegnatari)TypeScript (2136 fork)batch import
featurehelp wanted

Metriche repository

Star
 (13.175 star)
Metriche merge PR
 (Merge medio 3g 17h) (32 PR mergiate in 30 g)

Descrizione

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

Guida contributor