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

Include all data automatically #263

Open
multimeric opened this issue Oct 24, 2019 · 0 comments · May be fixed by #264
Open

Include all data automatically #263

multimeric opened this issue Oct 24, 2019 · 0 comments · May be fixed by #264

Comments

@multimeric
Copy link

If I have a series of nested models (from SQLAlchemy, for example), it would be nice to be able to RootSchema(include_data=True).dump(root_model). Currently, you have to spell out each and every relationship you want to include, but it's not inconceivable you might want to dump out the whole relationship tree.

My proposed API for this would be setting include_data to True, rather than passing in an iterable.

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

Successfully merging a pull request may close this issue.

1 participant