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

feat: Changed to avoid duplicating stuttered field definition #161

Closed
wants to merge 2 commits into from
Closed
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
148 changes: 142 additions & 6 deletions docs/openapiv2/apidocs.swagger.json

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

5 changes: 4 additions & 1 deletion openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,10 @@
(google.api.field_behavior) = REQUIRED
];

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

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

View workflow job for this annotation

GitHub Actions / build

Field "3" on message "Assertion" changed label from "optional" to "repeated".

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

View workflow job for this annotation

GitHub Actions / build

Field "3" on message "Assertion" changed type from "openfga.v1.ContextualTupleKeys" to "openfga.v1.TupleKey".
json_name = "contextual_tuples",
(google.api.field_behavior) = OPTIONAL
];
}

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-20240520151616-dc85e6b867a5
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.23.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // 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.

Loading
Loading