Skip to content
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

Support for mapping model inheritance hierarchy #229

Open
eltrufas opened this issue Jul 18, 2019 · 0 comments
Open

Support for mapping model inheritance hierarchy #229

eltrufas opened this issue Jul 18, 2019 · 0 comments
Labels

Comments

@eltrufas
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants