Skip to content

Commit 2a73dba

Browse files
nat-ncetanu
authored andcommitted
Make plugin use betterproto generated classes internally
This means the betterproto plugin no longer needs to depend durectly on protobuf. This requires a small runtime hack to monkey patch some google types to get around the fact that the compiler uses proto2, but betterproto expects proto3. Also: - regenerate google.protobuf package - fix a regex bug in the logic for determining whether to use a google wrapper type. - fix a bug causing comments to get mixed up when multiple proto files generate code into a single python module
1 parent 891c9e5 commit 2a73dba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/inputs/oneof/oneof-name.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"pitier": "Mr. T"
3+
}

0 commit comments

Comments
 (0)