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

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

Aperta
#28 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
limitation
Lingua principale
JavaScript
Stelle
47
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.