You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the library provides some automated conversion between the Well-known Google types (eg Timestamp <=> datetime).
Projects may wish to use similar conversion rules between some protobuf messages and internal types in their code (for instance, UUID or Decimal).
Would it be possible to add some configuration options to the plugin so that the user may configure their own field converters, or at least inject methods and properties to the auto-generated dataclasses?
Currently, the library provides some automated conversion between the Well-known Google types (eg Timestamp <=> datetime).
Projects may wish to use similar conversion rules between some protobuf messages and internal types in their code (for instance,
UUID
orDecimal
).Would it be possible to add some configuration options to the plugin so that the user may configure their own field converters, or at least inject methods and properties to the auto-generated dataclasses?
Ideally, I'd like to be able to get:
Another option would be to have:
The text was updated successfully, but these errors were encountered: