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

[6.x] Port whereKey fix and bugfix for null type #34031

Merged
merged 2 commits into from Aug 27, 2020
Merged

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Aug 27, 2020

This is a port for #33930 to 6.x LTS and an additional fix for a bug that was introduced with the aforementioned PR where null wasn't passed along properly anymore: #34029

Fixes #34029

stevethomas and others added 2 commits August 27, 2020 11:23
* Cast primary key to string when $keyType is string

* fix test

* fix remaining tests
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.

[7.x] FindOrFail being passed null as value on string key returns a model with empty string as key
3 participants