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

Make models download complicated attributes on-demand #50

Open
MegaApuTurkUltra opened this issue Jul 6, 2016 · 4 comments
Open

Make models download complicated attributes on-demand #50

MegaApuTurkUltra opened this issue Jul 6, 2016 · 4 comments

Comments

@MegaApuTurkUltra
Copy link
Member

MegaApuTurkUltra commented Jul 6, 2016

So by default Resource shouldn't download owners, and Collection shouldn't download items, owners, curators, or subscribers, since those could potentially get quite large. Instead, checking if an ID is on that list should be done as a mongo query and all actual downloads of the list should be paginated. This kind of goes with #41

@bates64
Copy link
Contributor

bates64 commented Jul 6, 2016

@MegaApuTurkUltra
Copy link
Member Author

Partially implemented in Collection 🎉

@MegaApuTurkUltra
Copy link
Member Author

Somewhat complete. Resources.downloaders could still use some work

@MegaApuTurkUltra
Copy link
Member Author

MegaApuTurkUltra commented Jul 25, 2016

Just did Resource.downloaders. The last things should be collection owners/curators/subscribers (although I think owners should be ok - we don't expect a huge number of owners anyway - and curators/subscribers don't have any non-mongo-based operations so far 📦 ), and comments, where we probably want them paginated

@MegaApuTurkUltra MegaApuTurkUltra added this to the Long term milestone Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants