marshmallow-sqlalchemy
marshmallow-sqlalchemy copied to clipboard
Support for mapping model inheritance hierarchy
SQLAlchemy supports mapping objects using inheritance, as described here.
Would it be possible to make the schema include extra fields in these subclasses depending on the polymorphic identity defined on the model?
If baking such a thing into the library is not feasible, has anyone with a similar use case found a relatively clean and robust solution for this?