- Methods are not copied from the dataclass to the generated Schema anymore. (See [47](https://github.com/lovasoa/marshmallow_dataclass/issues/47)).
This breaks backward compatibility, but hopefully should not impact anyone since marshmallow-specific methods are still copied.
This does not work anymore:
py
from marshmallow_dataclass import dataclass
dataclass
class C:
def say_hello():
print("hello")
C.Schema.say_hello()
But this still works as expected:
py
from marshmallow_dataclass import dataclass
from marshmallow import validates, ValidationError
dataclass
class C:
name: str
validates('name')
def validates(self, value):
if len(name) > 10: raise ValidationError("name too long")