Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant