Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[6.x] Allow to use scoped macro in nested queries #30127
Conversation
This comment has been minimized.
This comment has been minimized.
We can't use |
This comment has been minimized.
This comment has been minimized.
I'll explore this. But where are test for it? |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Sorry, you can use |
This comment has been minimized.
This comment has been minimized.
Cannot. I catch |
This comment has been minimized.
This comment has been minimized.
256 is |
This comment has been minimized.
This comment has been minimized.
@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
dkulyk commentedSep 28, 2019
•
edited
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.