Skip to content

Conversation

ploomiz
Copy link
Contributor

@ploomiz ploomiz commented Jul 29, 2022


labels: mergeable

Fixes Eppo-exp/eppo#4146

Motivation and Context

If I have a rule such as "country" is one of ["US", "CA"], then lowercase inputs (e.g. "country: 'us'") should still match.

Another scenario is with booleans: a rule such as "enabled" is one of ["TRUE"] should match the input true (boolean)

@ploomiz ploomiz merged commit a2b7c16 into main Aug 8, 2022
@ploomiz ploomiz deleted the pl/one-of-case-insensitive branch August 8, 2022 15: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.

2 participants