feathersjs-ecosystem / feathers-hooks-common

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

Pass additionalProperty name in nested objects to validateSchema error messages #712

Closed ardcore closed 1 year ago

ardcore commented 1 year ago

This fixes a bug in validateSchema hook where error messages related to invalid additional properties in nested objects didn't contain the name of said erroneous property.

fratzinger commented 1 year ago

Thanks for the PR, especially for the added test!

Released as v7.0.3 🎉