We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28a6183 + 03ef973 commit f24e3a2Copy full SHA for f24e3a2
kong/tools/grpc.lua
@@ -77,6 +77,7 @@ function _M.new()
77
protoc_instance:addpath(v)
78
end
79
protoc_instance.include_imports = true
80
+ protoc_instance.proto3_optional = true
81
82
return setmetatable({
83
protoc_instance = protoc_instance,
spec/fixtures/grpc/targetservice.proto
@@ -56,7 +56,7 @@ service Bouncer {
56
57
message HelloRequest {
58
string greeting = 1;
59
- bool boolean_test = 2;
+ optional bool boolean_test = 2;
60
}
61
62
message HelloResponse {
0 commit comments