fix: support pydantic-version google pb (#568)

* feat: pydantic version of google pb

* fix: patch pb Struct to support json, dict rountrip

* fix: pydantic-version google pb, json, dict rntrip

* chore: remove `@generated`, remove gen, code fmt

* chore: test case for pydantic-version google pb
This commit is contained in:
Maple
2024-04-09 05:54:36 +07:00
committed by GitHub
parent df1ba911b7
commit c3c20556e0
16 changed files with 5606 additions and 1869 deletions

View File

@@ -95,11 +95,11 @@ cmd = """
protoc
--plugin=protoc-gen-custom=src/betterproto/plugin/main.py
--custom_opt=INCLUDE_GOOGLE
--custom_out=src/betterproto/lib
--custom_out=src/betterproto/lib/std
-I /usr/local/include/
/usr/local/include/google/protobuf/**/*.proto
"""
help = "Regenerate the types in betterproto.lib.google"
help = "Regenerate the types in betterproto.lib.std.google"
# CI tasks