ajv-validator / ajv-validator/ajv-merge-patch
Crashes on AJV initialized with `meta: false`
Open
- Dominant language
- JavaScript
- Stars
- 47
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.