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

more specific relationship filters #4

Merged
merged 1 commit into from
Sep 22, 2021
Merged

more specific relationship filters #4

merged 1 commit into from
Sep 22, 2021

Conversation

jakedt
Copy link
Member

@jakedt jakedt commented Sep 21, 2021

No description provided.

message SubjectFilter {
message RelationFilter {
string relation = 1 [ (validate.rules).string = {
pattern : "^[a-z][a-z0-9_]{2,62}[a-z0-9]$",
Copy link
Member

Choose a reason for hiding this comment

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

this needs to be able to be empty string

@@ -76,33 +76,50 @@ message Consistency {
// RelationshipFilter is a collection of filters which when applied to a
// relationship will return relationships that have exactly matching fields.
//
// resource_filter is required. All other fields are optional and if left
// object_type is required. All other fields are optional and if left
Copy link
Member

Choose a reason for hiding this comment

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

resource_type

Signed-off-by: Jake Moshenko <jacob.moshenko@gmail.com>
Copy link
Member

@josephschorr josephschorr left a comment

Choose a reason for hiding this comment

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

LGTM

@jakedt jakedt merged commit 8d91f47 into main Sep 22, 2021
@jzelinskie jzelinskie deleted the better-filters branch September 22, 2021 18:11
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