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

Eager loading users #260

Open
Kehet opened this issue Dec 2, 2016 · 8 comments
Open

Eager loading users #260

Kehet opened this issue Dec 2, 2016 · 8 comments

Comments

@Kehet
Copy link

Kehet commented Dec 2, 2016

Currently without any config, $product->revisionHistory is loading all users related separately.
Since my project have many users editing many products, it would be nice to being able to eager load all related users using $product->load('revisionHistory.userResponsible'); or something like that

.. or maybe it already is possible and this is just documentation issue

@arielkung
Copy link

+1

1 similar comment
@mocheaz
Copy link

mocheaz commented Feb 15, 2017

+1

@bambamboole
Copy link

+1 I have got the very same problem.

@amouillard
Copy link

+1

@pr4xx
Copy link

pr4xx commented Jul 5, 2017

+1000

@blomdahldaniel
Copy link

This is definitely a thing! +1

@christianschoenmakers
Copy link

Is this still not possible?

@Kehet
Copy link
Author

Kehet commented Nov 22, 2022

This looks essentially abandonware, I don't think Laravel Auditing have same issue

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

No branches or pull requests

9 participants