Skip to content
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

[Maps] change equals check for mapbox filter expressions #53246

Closed
nreese opened this issue Dec 17, 2019 · 1 comment · Fixed by #99673
Closed

[Maps] change equals check for mapbox filter expressions #53246

nreese opened this issue Dec 17, 2019 · 1 comment · Fixed by #99673
Labels
chore [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation

Comments

@nreese
Copy link
Contributor

nreese commented Dec 17, 2019

from #52957 (comment)

in hindsight, this reference-equality check is imho not best practice. it relies on mb keeping the reference to the filter, which isn't documented.
Consider using _.isEqual, and then change in the other mbSync methods too

@nreese nreese added chore [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation labels Dec 17, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese nreese changed the title [Maps] change equals check for style filters [Maps] change equals check for mapbox filter expressions Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation
Projects
None yet
2 participants