feathersjs-ecosystem / feathers-hooks-common

Useful hooks for use with FeathersJS services.
https://hooks-common.feathersjs.com
MIT License
193 stars 89 forks source link

fix(prevent-changes): return original context object #710

Closed fratzinger closed 1 year ago

fratzinger commented 1 year ago

This PR fixes preventChanges to return the original context object instead of a new shallow cloned one.

see #709