ajv-validator / ajv-validator/ajv-merge-patch
Conditional $merge and $patch keywords?
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 47
- Forks
- 19
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am trying to `merge/patch` schemas based on conditions with `if/then/else`. Is this generally possible?
Here is a minimal reproduction CSB of what I am trying to achieve:
https://codesandbox.io/s/serene-cdn-0ugtt?file=/src/index.js
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.