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

Filter validation should enforce lack of feature-state support #7366

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

asheemmamoowala
Copy link
Contributor

Closes #7352.

Style Filters cannot accept feature-state expressions and should not validate when used with such expressions.

@mourner
Copy link
Member

mourner commented Oct 8, 2018

@asheemmamoowala anything else to do here? Seeing the [WIP] in the title...

@asheemmamoowala asheemmamoowala changed the title [WIP] Filter validation should enforce lack of feature-state support Filter validation should enforce lack of feature-state support Oct 8, 2018
@asheemmamoowala
Copy link
Contributor Author

@mourner The unit tests weren't passing for me locally earlier, but it seems to have been resolved with a re-install of node modules.

@asheemmamoowala asheemmamoowala merged commit 2000804 into master Oct 8, 2018
@asheemmamoowala asheemmamoowala deleted the filter-no-state branch October 8, 2018 19:15
@ansis
Copy link
Contributor

ansis commented Oct 8, 2018

Should the validation be based on the presence of the feature-state ExpressionParameter in the spec for that property instead of whether it is a layout property or filter?

@asheemmamoowala
Copy link
Contributor Author

Tracking style-spec based validation in #7382

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.

3 participants