-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
To reproduce:
git clone [email protected]:ajv-validator/ajv-merge-patch.git
cd ajv-merge-patch
npm i
npm test
Expected: all tests pass
Actual:
1) async schema loading
$merge
should load missing schemas:
TypeError: resolver.resolve is not a function
at resolveUrl (node_modules/ajv/dist/compile/resolve.js:90:21)
...
2) async schema loading
$patch
should load missing schemas:
TypeError: resolver.resolve is not a function
at resolveUrl (node_modules/ajv/dist/compile/resolve.js:90:21)
This is due to a change introduced in ajv v8.10.0 which is pulled by the devDependency "ajv": "^8.2.0". Specifically,
This very short PR fixes this issue in the same technique as that commit in ajv.
Metadata
Metadata
Assignees
Labels
No labels