jellydator / validation

An idiomatic validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
MIT License
39 stars 6 forks source link

Add case insensitive string support for the In and NotIn rules #10

Closed slessard closed 1 year ago

slessard commented 1 year ago

Currently the In and NotIn rules work just fine with strings but these two rules only work in a case sensitive way. This feature request is to add support for case insensitive In and NotIn rules.

examples:

swithek commented 1 year ago

https://github.com/jellydator/validation/pull/11