-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move consistency enum to its own proto file; allows linting
- Loading branch information
1 parent
55257aa
commit 22d0df3
Showing
6 changed files
with
2,495 additions
and
2,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
syntax = "proto3"; | ||
|
||
package openfga.v1; | ||
|
||
// Controls the consistency preferences when calling the query APIs. | ||
enum ConsistencyPreference { | ||
// Default if not set. Behavior will be the same as MINIMIZE_LATENCY. | ||
UNSPECIFIED = 0; | ||
// Minimize latency at the potential expense of lower consistency. | ||
MINIMIZE_LATENCY = 100; | ||
// Prefer higher consistency, at the potential expense of increased latency. | ||
HIGHER_CONSISTENCY = 200; | ||
} |
Oops, something went wrong.