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

$ref to definitions inside “source” or “with” parts of $merge is not supported

Open
#28 5 comments 0 reactions 0 assignees View on GitHub
limitation
Dominant language
JavaScript
Stars
47
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Hi,

When the "with" object contains definitions (like '"$ref": "#/definitions/JwtConfig"'), ajv throws an error.

I need to move the "with" "definitions" property to the main object :

```
{
$merge: {
source
with
},
definitions
}
```

I think it's an issue :)

Regards

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.