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

Nested eager load #197

Open
Venommmm opened this issue Jul 10, 2017 · 2 comments
Open

Nested eager load #197

Venommmm opened this issue Jul 10, 2017 · 2 comments
Labels

Comments

@Venommmm
Copy link

Venommmm commented Jul 10, 2017

Is it possible, for example, to get all the chain: Restaurant - > Reviews - > User? I cant find a way to preload user for each review in this case. (Model scheme: restaurant -> one to many -> reviews; reviews -> one to one (inverse) -> user)

@erizocosmico
Copy link
Contributor

Nope, right now there is no way to do nested eager loading. Your case should be doable with a through, when support for that is added. It's being worked on, but it might still be a while until it's released.

@patrickdevivo
Copy link

curious about this issue as I'm running into a similar need. any updates here from the kallax maintainers?

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

3 participants