Skip to content

Commit

Permalink
feat: add consistency options to StreamedListObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored and jimmyjames committed Jun 21, 2024
1 parent c7bfe63 commit 5ef60b7
Show file tree
Hide file tree
Showing 4 changed files with 2,118 additions and 2,085 deletions.
4 changes: 4 additions & 0 deletions docs/openapiv2/apidocs.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,9 @@ message StreamedListObjectsRequest {
// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
google.protobuf.Struct context = 7;

// Controls the consistency preference for this request. Default value is UNSPECIFIED, which will have the same behavior as MINIMIZE_LATENCY.
ConsistencyPreference consistency = 8 [(validate.rules).enum.defined_only = true];
}

// The response for a StreamedListObjects RPC.
Expand Down
Loading

0 comments on commit 5ef60b7

Please sign in to comment.