Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

ardcore
Copy link
Contributor

@ardcore ardcore commented Apr 4, 2023

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 fratzinger merged commit 11b6665 into feathersjs-ecosystem:master Apr 6, 2023
@fratzinger
Copy link
Collaborator

Thanks for the PR, especially for the added test!

Released as v7.0.3 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants