-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom BaseSchema #26
Labels
enhancement
New feature or request
Comments
Looks like a useful new feature. @manmime, would you be interested in making a pull request for that ? You would have to update |
Fixed by #28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Without marshmallow_dataclass:
I have my own BaseSchema, that (not only) converts all snake_case variable names to their camelCase alternatives when dumping. All my others schemas inherit from that.
I want to get rid of boilerplate schemas for my dataclasses and use this library, but i can't find a way to do so.
My idea:
With marshmallow_dataclass:
It would be great, if
PersonSchema = marshmallow_dataclass.class_schema(Person)
had a parameterbase_class=MyBaseClass
The text was updated successfully, but these errors were encountered: