Skip to content

Commit

Permalink
improve Watch optional_relationship_filters docs
Browse files Browse the repository at this point in the history
describes in detail how multiple filters are used in a Watch call
  • Loading branch information
vroldanbet authored Mar 12, 2024
1 parent 4286d7d commit 7fa9d64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions authzed/api/v1/watch_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ message WatchRequest {

// optional_relationship_filters, if specified, indicates the
// filter(s) to apply to each relationship to be returned by watch.
// The relationship will be returned as long as at least one filter matches,
// this allows clients to match relationships on multiple filters on a single watch call.
// If specified, optional_object_types cannot be used.
repeated RelationshipFilter optional_relationship_filters = 3;
}
Expand Down

0 comments on commit 7fa9d64

Please sign in to comment.