ajv-validator / ajv-validator/ajv-merge-patch

Conditional $merge and $patch keywords?

Open
#46 2 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.