Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vidup
Copy link
Contributor

@vidup vidup commented Jul 15, 2024

This is a small change that adds type-safety to the value passed to the validation function. This makes writing custom validation functions way easier, and prevent unnoticed changes.

It's potentially breaking if people wrote wrong assertions. Considering the fact that this change is made to notice wrong assertions I decided to pass it as a minor change. Due to 5.0.0 young age (few days) it should not be an issue.

@vidup vidup self-assigned this Jul 15, 2024
@vidup vidup merged commit bb43a99 into master Jul 15, 2024
@vidup vidup deleted the fix/type-safe-validates branch July 15, 2024 09:25
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.

1 participant