Skip to content

Commit

Permalink
Revert "Reverting contextual tuples in assertions API (#157) (#167)"
Browse files Browse the repository at this point in the history
This reverts commit 5b0b494.
  • Loading branch information
miparnisari committed Aug 6, 2024
1 parent 7e5be7b commit d53ea84
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 58 deletions.
3 changes: 3 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.

2 changes: 2 additions & 0 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,8 @@ message Assertion {
json_name = "expectation",
(google.api.field_behavior) = REQUIRED
];

openfga.v1.ContextualTupleKeys contextual_tuples = 3 [json_name = "contextual_tuples"];
}

message Assertions {
Expand Down
8 changes: 4 additions & 4 deletions proto/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require (
)

require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 // indirect
)
15 changes: 15 additions & 0 deletions proto/go.sum

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

122 changes: 68 additions & 54 deletions proto/openfga/v1/openfga_service.pb.go

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

29 changes: 29 additions & 0 deletions proto/openfga/v1/openfga_service.pb.validate.go

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

0 comments on commit d53ea84

Please sign in to comment.