-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support expressions in filters (without conversion) #5434
Conversation
https://bl.ocks.org/anonymous/raw/c15be57dd06c39b2f5b1c71b7f1dd513/ The https://bl.ocks.org/anonymous/raw/0bdb3084a58885a63f316d73bccf8030/ |
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.
I guess the slight increase in running time must be due to the extra paramter ({zoom}
). Wouldn't have expected it to even show up, but anyway it's miniscule.
t.equal(f({zoom: 0}, {properties: {x: null}}), false); | ||
t.equal(f({zoom: 0}, {properties: {x: undefined}}), false); | ||
t.end(); | ||
}); |
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.
Let's add a test for the case where any
and all
are used as expressions
Prepares for expression support
5f5b41b
to
452b92f
Compare
Like #5193 but continue to use the old code for non-expression filters.