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
PreventChanges hook tells us in the detail section to use validateSchema if you would rather specify which fields are allowed to change. ValidateSchema seems a bit too complex for a simple problem to only keep 1 or 2 fields.
info
https://feathers-plus.github.io/v1/feathers-hooks-common/#preventchanges
PreventChanges hook tells us in the detail section to use validateSchema if you would rather specify which fields are allowed to change. ValidateSchema seems a bit too complex for a simple problem to only keep 1 or 2 fields.
So why not suggest keep instead of validateSchema?
Expected behavior
Consider using keep in the before hook if you would rather specify which fields are allowed to change.
Actual behavior
Consider using validateSchema if you would rather specify which fields are allowed to change.
The text was updated successfully, but these errors were encountered: