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

[5.6] Revert #24000 #24283

Closed
wants to merge 1 commit into from
Closed

[5.6] Revert #24000 #24283

wants to merge 1 commit into from

Conversation

staudenmeir
Copy link
Contributor

@staudenmeir staudenmeir commented May 22, 2018

#24000 fixed a bindings problem with $withCount and nested where() constraints (#23957).

Since #24240 solves the underlying problem in a more general way, the fix from #24000 is not required anymore: Builder::where() now uses Model::newModelQuery() which creates a query without $withCount.

@sisve
Copy link
Contributor

sisve commented May 23, 2018

Instead of reverting the entire PR, could you just revert the changes to Builder.php? It sounds reasonable to keep the test to ensure everything still works.

@staudenmeir
Copy link
Contributor Author

The test doesn't work anymore because it only tested this specific workaround.

@taylorotwell
Copy link
Member

Unless there is a problem with this remaining I will just leave it.

@staudenmeir staudenmeir deleted the revert-24000 branch May 25, 2018 23:43
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.

3 participants