Skip to content

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