Allan Dantas

Results 2 comments of Allan Dantas

Here it is: https://github.com/allandantasdev/laravel-bug-report-51825/commit/ce9741abbe623a36d147e46dec66269532cf90b5

Additional info: - This is the query generated by Auth::user()->categories->pluck('id') at Example@scopeHasAccess:24 while lazy loading ![image](https://github.com/laravel/framework/assets/20290336/29867ddc-a66c-444f-85af-19d1f7a772d8) - And is the same query generated after trying to eagerloading Category::with('examples'): ![image](https://github.com/laravel/framework/assets/20290336/555177c8-d46e-452d-9bf2-0000b806caae)