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

Allow tagged-any & tagged-all to be used in where exprs #227

Merged
2 commits merged into from Jun 4, 2013

Conversation

samn
Copy link
Contributor

@samn samn commented Jun 4, 2013

This change allows the single tag form of tagged-any &
tagged-all to be used in a where predicate expression.

Previously where-rewrite would only recognize tagged.
The logic for all three forms is the same in this case
because it only checks for the existence of a single tag.

Also update the docs for where, tagged-any & tagged-all to note that tagged-* can be used in where test expressions, but only to test for single tags.

samn added 2 commits June 4, 2013 19:09
This change allows the single tag form of tagged-any &
tagged-all to be used in a where predicate expression.

Previously where-rewrite would only recognize tagged.
The logic for all three forms is the same in this case
because it only checks for the existence of a single tag.
Note that tagged-any & tagged-all can be used in where
test expressions, but only the single tag form.

Testing for a collection of tags is not supported yet.
ghost pushed a commit that referenced this pull request Jun 4, 2013
Allow tagged-any & tagged-all to be used in where exprs
@ghost ghost merged commit 1ebb93d into riemann:master Jun 4, 2013
@ghost
Copy link

ghost commented Jun 4, 2013

Great work, thanks Sam. :D

This pull request was closed.
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.

None yet

1 participant