Commit 27277d0
committed
Support code generation for lower camel case proto method names.
Motivation:
- Ensure compatibility with proto definitions using unconventional lower camel case method names.
Changes:
- Updated `methodNameGetter` logic to handle method names by converting them to proper camel case format.
- Added a test case with a non-conventional `sayHelloLowerCamel` proto method to validate the fix.1 parent 4318be7 commit 27277d0
2 files changed
Lines changed: 7 additions & 1 deletion
File tree
- vertx-grpc-it/src/test/proto
- vertx-grpc-protoc-plugin2/src/main/java/io/vertx/grpc/plugin/generation/context
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments