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

Domain fix #3287

Merged
merged 3 commits into from
Jan 21, 2018
Merged

Domain fix #3287

merged 3 commits into from
Jan 21, 2018

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Jan 21, 2018

Fixes #3284

@domoritz domoritz requested a review from kanitw January 21, 2018 16:17
ancestorParse: parent ? {...parent.component.data.ancestorParse} : {}
ancestorParse: parent ? {...parent.component.data.ancestorParse} : {},
// data is faceted if the spec is a facet spec or the parent has faceted data and no data is defined
isFaceted: isFacetSpec(spec) || (parent && parent.component.data.isFaceted && !spec.data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand correctly, this will also be correct for facet of layer right? (Just asking to make sure)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it works with my example.

@kanitw
Copy link
Member

kanitw commented Jan 21, 2018

Test failing

@domoritz domoritz force-pushed the dom/facet-domain-fix branch 3 times, most recently from 01a4769 to d2daca8 Compare January 21, 2018 20:00
@domoritz
Copy link
Member Author

Revised and added some more tests.

@domoritz domoritz force-pushed the dom/facet-domain-fix branch from d2daca8 to d5a3b09 Compare January 21, 2018 20:49
Copy link
Member

@kanitw kanitw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only did a quick read. Feel free to merge if you are confident that you have thoroughly tested.

@domoritz domoritz merged commit f127765 into master Jan 21, 2018
@domoritz domoritz deleted the dom/facet-domain-fix branch January 21, 2018 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants