From 7fa9d64ff345a5e203191bbfee497ca8606a4b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rold=C3=A1n=20Betancort?= Date: Tue, 12 Mar 2024 12:42:19 +0000 Subject: [PATCH] improve Watch optional_relationship_filters docs describes in detail how multiple filters are used in a Watch call --- authzed/api/v1/watch_service.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authzed/api/v1/watch_service.proto b/authzed/api/v1/watch_service.proto index b24e72a..f8f49df 100644 --- a/authzed/api/v1/watch_service.proto +++ b/authzed/api/v1/watch_service.proto @@ -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; }