Skip to content

Added generic validation lib

Choose a tag to compare

@tabratowski tabratowski released this 26 May 07:26
· 5 commits to main since this release
aa012a7

Experiment with approach to add generic validation lib - it should not compile if field type is not compatible with given rule
in example string can have minLength rule, but cannot have min rule.
Lib is flexible so you can add your own more complex validators