-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force java_generic_services to false for protos gathered from depende…
…ncies
- Loading branch information
1 parent
baa1c2f
commit d87bd54
Showing
3 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...n-tests/grpc-external-proto/src/main/resources/dir/proto-with-java_generic_services.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
syntax = "proto3"; | ||
|
||
option java_package = "com.test"; | ||
|
||
// codegen will ignore the line below | ||
option java_generic_services = true; | ||
|
||
package com.test; | ||
|
||
service MyJavaGenericServicesTest { | ||
rpc DoTest(JavaGenericServices) returns (JavaGenericServices); | ||
} | ||
|
||
message JavaGenericServices {} |