ajv-validator / ajv-validator/ajv-merge-patch
Crashes on AJV initialized with `meta: false`
Aperta
- Lingua principale
- JavaScript
- Stelle
- 47
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.