-
Notifications
You must be signed in to change notification settings - Fork 11k
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
[6.x] Allow to use scoped macro in nested queries #30127
Conversation
We can't use |
I'll explore this. But where are test for it? |
|
Sorry, you can use |
Cannot. I catch |
256 is |
@derekmd The most likely reason one would encounter that error is if there was infinite recursion in the call. It's unlikely that the stack depth limit was hit, otherwise. Disabling the extension would likely see php segfault instead. |
Remove brackets arround URL php artisan serve (laravel#30168) To allow opening the development URL in Visual Studio Code with ctrl + click the bracket after the URL needs to be removed. This patch wil remove the brackets around the url. add test for sorted middlewares (laravel#30166) [6.x] Apply limit to database rather than collection (laravel#30148) * Apply limit to database rather than collection For HasInDatabase.php * Fix tests * Add to SoftDeleted trait as well * Update HasInDatabase.php * Update SoftDeletedInDatabase.php [6.x] Allow to use scoped macro in nested queries (laravel#30127) * Allow to use scoped macro in nested queries. * Use newQueryWithoutRelationships
Remove brackets arround URL php artisan serve (laravel#30168) To allow opening the development URL in Visual Studio Code with ctrl + click the bracket after the URL needs to be removed. This patch wil remove the brackets around the url. add test for sorted middlewares (laravel#30166) [6.x] Apply limit to database rather than collection (laravel#30148) * Apply limit to database rather than collection For HasInDatabase.php * Fix tests * Add to SoftDeleted trait as well * Update HasInDatabase.php * Update SoftDeletedInDatabase.php [6.x] Allow to use scoped macro in nested queries (laravel#30127) * Allow to use scoped macro in nested queries. * Use newQueryWithoutRelationships
* Allow to use scoped macro in nested queries. * Use newQueryWithoutRelationships
Sometimes need to use scope macro in nested queries:
Scopes are applying only when you call
get()
orcursor()
. But In nested queries this not happening.I believe this is bug what scope macro does not work in nested queries.