-
Notifications
You must be signed in to change notification settings - Fork 122
Conversation
d4d63c0
to
1323f11
Compare
I threw in some additional support for NSExpression syntactic sugar so developers don’t feel like they have to match our examples exactly:
|
40585f6
to
7bbda8d
Compare
7bbda8d
to
12903be
Compare
I tested this PR out with point features with a Sample code
|
Noting that Also, using |
Thanks for noticing that: mapbox/mapbox-gl-native#16262. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Using match
for in
expressions what kind of problematic. With this change it became simpler.
|
||
return matchExpression.mgl_jsonExpressionObject; | ||
op = @"in"; | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏼 this is simple
|
Removed the match-based in expression workaround in favor of real support for an in expression operator. Avoid interpreting “literal IN literal” predicates as legacy filters.
Added support for “ANY … =” and “ALL … !=” as synonyms for “IN” and “NOT IN”, respectively.
Removed the
match
-based workaround forin
expressions in favor of real support for anin
expression operator, including support for testing whether a string is a substring of another string.match
-based workaround within
operator mappingsANY
/SOME
andNONE
with=
andALL
with!=
in
expressions in “Information for Style Authors” guideFixes #168. Depends on #181. Retarget and rebase this PR onto master before merging.
/cc @mapbox/maps-ios