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.7] Prevent breaking eager loading with "incrementing" string keys #26688

Merged
merged 1 commit into from Nov 30, 2018
Merged

[5.7] Prevent breaking eager loading with "incrementing" string keys #26688

merged 1 commit into from Nov 30, 2018

Conversation

staudenmeir
Copy link
Contributor

The fix from #26622 caused a new issue (#26683): Some people are using $incrementing = true and $keyType = 'string' to automatically get uuids that are generated by the database.

So we can only apply the eager loading improvement to models with auto-incrementing and integer primary keys.

Fixes #26683.

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.

None yet

2 participants