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

feat(schematype): merge rather than overwrite default schematype validators #14124

Merged
merged 3 commits into from Nov 28, 2023

Conversation

vkarpov15
Copy link
Collaborator

Fix #14070

Summary

#14070 makes a fair point that validate overwriting default schematype validators is a point of friction, and merging validators would make the default validator API much more useful. I figure it is reasonable to ship this with 8.1, what do you think @AbdelrahmanHafez @hasezoey ?

Examples

Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test added currently passes on master (84db3a0), without requiring the changes from this PR

test/schematype.test.js Outdated Show resolved Hide resolved
test/schematype.test.js Show resolved Hide resolved
Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now the test looks good to me

@vkarpov15 vkarpov15 merged commit 33e3898 into 8.1 Nov 28, 2023
34 checks passed
@vkarpov15 vkarpov15 added this to the 8.1 milestone Nov 28, 2023
@hasezoey hasezoey deleted the vkarpov15/gh-14070-2 branch November 28, 2023 22:15
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.

None yet

2 participants