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

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

Abierto
#28 5 comentarios 0 reacciones 0 asignados Ver en GitHub
limitation
Lenguaje dominante
JavaScript
Estrellas
47
Forks
19
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.