You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am accessing a map or struct fields in expression string, and in case field is not present in map or struct and if compared like Person.Age > 30 then return true.
Reduced issue is "nil > somevalue" return true.
The text was updated successfully, but these errors were encountered:
Yeah nil < 30 is not defined but the lexical order "nil" < "30" is and the values are automatically converted into string.
In this case it's really undesirable.
I am accessing a map or struct fields in expression string, and in case field is not present in map or struct and if compared like Person.Age > 30 then return true.
Reduced issue is "nil > somevalue" return true.
The text was updated successfully, but these errors were encountered: