Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting contextual tuples in assertions API (#157) #167

Merged
merged 3 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1553,7 +1553,7 @@
];
}

message Assertion {

Check failure on line 1556 in openfga/v1/openfga_service.proto

View workflow job for this annotation

GitHub Actions / build

Previously present field "3" with name "contextual_tuples" on message "Assertion" was deleted.
AssertionTupleKey tuple_key = 1 [
(validate.rules).message.required = true,
json_name = "tuple_key",
Expand All @@ -1564,8 +1564,6 @@
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.

Loading