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
N
Nat Noordanus committed
fe1e712fdb12e2e6932ddf42e6535320c2735815
Parent: 7a358a6
Committed by Basileus <vsyrakis@atlassian.com>
on 3/31/2021, 10:49:22 PM