Skip to content

Commit

Permalink
review feedback: update enum vals for future additions, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Jun 6, 2024
1 parent ca2becc commit e535410
Show file tree
Hide file tree
Showing 3 changed files with 1,511 additions and 1,511 deletions.
2 changes: 1 addition & 1 deletion docs/openapiv2/apidocs.swagger.json

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

6 changes: 3 additions & 3 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,9 @@ enum ConsistencyPreference {
// Default if not set. Behavior will be the same as MINIMIZE_LATENCY
UNSPECIFIED = 0;
// Minimize latency at the potential expense of higher consistency.
MINIMIZE_LATENCY = 1;
MINIMIZE_LATENCY = 100;
// Prefer higher consistency, at the potential expense of increased latency.
HIGHER_CONSISTENCY = 2;
HIGHER_CONSISTENCY = 200;
}

message ListObjectsRequest {
Expand Down Expand Up @@ -834,7 +834,7 @@ message ListObjectsRequest {
// in the query evaluation.
google.protobuf.Struct context = 7;

// Controls the consistency preference for this request. Default is MINIMIZE_LATENCY.
// 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];
}

Expand Down
Loading

0 comments on commit e535410

Please sign in to comment.