ajv-validator / ajv-validator/ajv-merge-patch
Conditional $merge and $patch keywords?
Open
- Dominant language
- JavaScript
- Stars
- 47
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.