Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 2562cdb

Browse files
committed
support json_name proto annotation for renaming field names in GraphQL schema.
also bumping version to release 0.2.1.
1 parent 21b355c commit 2562cdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rejoiner/src/test/proto/test_proto.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ message Proto1 {
2626
InnerProto test_inner_proto = 4;
2727
//Some leading comment
2828
int64 camelCaseName = 5;
29+
string name_field = 6 [json_name="RenamedField"];
2930

3031
message InnerProto {
3132
string foo = 1;

0 commit comments

Comments
 (0)