Open Gobot1234 opened 2 years ago
Small update https://mail.python.org/archives/list/python-dev@python.org/thread/JWMSWJ6JZJNNG3JKPBYDMQUUHZFD2FZL, this will probably have to wait for b6
PEP 681 has now been accepted so this should be ok to implement
If PEP 681 is accepted we would be able to simplify the generated code by removing the dataclasses decorator and then implictly make
betterproto.Message
s be dataclasses by defining__init_subclass__
and retain the typed constructor:I think this would be a nice readabilty improvement.