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

Support anonymous functions as custom validator function #87

Merged
merged 2 commits into from Nov 15, 2023

Conversation

arjan
Copy link
Contributor

@arjan arjan commented Nov 10, 2023

Using an function closure allows one to use custom, context-specific data inside the validation function.

Copy link
Owner

@jonasschmidt jonasschmidt left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution, seems like a straight-forward addition 👍 🚀
I will merge and publish a new version. There seems to be an unrelated problem with Dialyzer in the build, looking into that.

@jonasschmidt jonasschmidt merged commit 9a4aa62 into jonasschmidt:master Nov 15, 2023
0 of 2 checks passed
@jonasschmidt
Copy link
Owner

Published as version 0.10.2

@arjan
Copy link
Contributor Author

arjan commented Nov 16, 2023

Thanks a lot!

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