You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
To reproduce:
Expected: all tests pass
Actual:
This is due to a change introduced in
ajv
v8.10.0 which is pulled by the devDependency"ajv": "^8.2.0"
. Specifically,ajv-validator/ajv@0e47ab4
This very short PR fixes this issue in the same technique as that commit in
ajv
.The text was updated successfully, but these errors were encountered: