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] Added chunkById support in relations. #26940

Closed
wants to merge 2 commits into from
Closed

[5.6] Added chunkById support in relations. #26940

wants to merge 2 commits into from

Conversation

dkulyk
Copy link
Contributor

@dkulyk dkulyk commented Dec 22, 2018

Pivot data doesn't attached to model If you use Builder::chunkById.

This PR is fixing this and using actual of relation keys for chunking.

Related to https://github.com/laravel/nova/issues/152
Backport for #26919

@dkulyk
Copy link
Contributor Author

dkulyk commented Dec 22, 2018

@taylorotwell It need for Nova, but I don't know, it's normally to change requirements in Nova like ^5.6.N|^5.7.N where N - versions with this PRs. Maybe polyfill(through macro) for 5.6 | <5.7.N will be better?

@taylorotwell
Copy link
Member

5.6 isn't receiving bug fixes or improvements anymore.

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