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
Describe the bug
With ajv option set to strict mode the ajv-merge-patch package does not work. I receive the error: strict mode: required property "value" is not defined at "#/properties/with/items/anyOf/0" (strictRequired)
To Reproduce
Steps to reproduce the behavior:
Set ajv schema option { strict: true }
Register the plugin
Run fastify
See error
Expected behavior
Package should work even with strict mode on
Do you have a proposed solution?
In this line a property is required which is not defined, after removing it locally everything worked as expected.
Describe the bug
With ajv option set to strict mode the ajv-merge-patch package does not work. I receive the error:
strict mode: required property "value" is not defined at "#/properties/with/items/anyOf/0" (strictRequired)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Package should work even with strict mode on
Do you have a proposed solution?
In this line a property is required which is not defined, after removing it locally everything worked as expected.
ajv-merge-patch/keywords/patch.js
Line 19 in 0a4c44f
Additional context and screenshots
Add any other context about the problem, and screenshots if applicable.
The text was updated successfully, but these errors were encountered: