8000 [12.x] Prevent `preventsLazyLoading` exception when using `automaticallyEagerLoadRelationships` by devajmeireles · Pull Request #55771 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[12.x] Prevent preventsLazyLoading exception when using automaticallyEagerLoadRelationships #55771

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

Conversation

devajmeireles
Copy link
Contributor

While automaticallyEagerLoadRelationships is still advertised as "Beta", it is available for use - I have personally used it in production and have seen good behavior from it, and for this reason it no longer makes sense to throw the preventsLazyLoad exception when automaticallyEagerLoadingRelationships is enabled.

@taylorotwell taylorotwell merged commit 40edd68 into laravel:12.x May 19, 2025
61 checks passed
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 this pull request may close these issues.

2 participants
0