ajv-validator / ajv-validator/ajv-merge-patch
Crashes on AJV initialized with `meta: false`
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 47
- Forks
- 19
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Following will crash with not very descriptive error `Error: can't resolve reference http://json-schema.org/draft-07/schema# from id #`
```javascript
const AJV = require('ajv');
const ajv = new AJV({ meta: false });
require('ajv-merge-patch')(ajv);
```
If it works as intended it'll be good to document that AJV cannot be initialized with `meta: false`, if we want to take advantage of this plugin
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.