rjsf-team/react-jsonschema-form

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

Open

#3,269 创建于 2022年12月2日

在 GitHub 查看
 (15 评论) (0 反应) (0 负责人)TypeScript (13,175 star) (2,136 fork)batch import
featurehelp wanted

描述

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

贡献者指南

Could ajv be *optionally* swapped with `@cfworker/json-schema`? · rjsf-team/react-jsonschema-form#3269 | Good First Issue