Skip to content

Commit

Permalink
Reverting contextual tuples in assertions API (#157) (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
willvedd authored May 29, 2024
1 parent 03aaac2 commit 5b0b494
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 123 deletions.
3 changes: 0 additions & 3 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: 0 additions & 2 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1564,8 +1564,6 @@ message Assertion {
json_name = "expectation",
(google.api.field_behavior) = REQUIRED
];

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

message Assertions {
Expand Down
14 changes: 7 additions & 7 deletions proto/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ go 1.22.3

require (
github.com/envoyproxy/protoc-gen-validate v1.0.4
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1
google.golang.org/genproto/googleapis/api v0.0.0-20240506185236-b8a5c65736ae
google.golang.org/grpc v1.63.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157
google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)

require (
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
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
)
28 changes: 14 additions & 14 deletions proto/go.sum

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

122 changes: 54 additions & 68 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: 0 additions & 29 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 5b0b494

Please sign in to comment.