-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: adding optional TagFilterMode to the record query API that allows to filter by ALL or ANY of the tags (AND vs OR tag filter mode) #465
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
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.
LGTM
/gcbrun |
/gcbrun |
&pb.QueryRecordsRequest{ | ||
StoreKey: stores[1].Key, | ||
Tags: []string{tag1, tag4}, | ||
}, | ||
nil, codes.OK, | ||
}, | ||
{ | ||
"Tags OR", |
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.
can we have tags or and no results test ?
/gcbrun |
/gcbrun |
What type of PR is this?
/kind feat
What this PR does / Why we need it:
Allows filtering by tags using AND or OR manner
Which issue(s) this PR fixes:
Closes 466
Special notes for your reviewer: