jruizgit / rules

Durable Rules Engine
MIT License
1.14k stars 207 forks source link

Working with Dictionary objects #326

Closed JeremyWildsmith closed 4 years ago

JeremyWildsmith commented 4 years ago

Hello,

I am trying to figure out how to create a rule that will match (case insensitive) a dictionary key, and then some field or data in the value.

I know I can treat the dictionary as an object in the rule (ie m.my_dict.my_key) but this is case-sensitive. I wonder if there is anyway to do a case-insensitive lookup on the key and then match the respective values?

Thanks!