Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Nullable table name #22409
I suspect that https://github.com/laravel/framework/pull/22222/files
Steps To Reproduce:
In test file:
Relation in user:
Gives an error:
As you can see now it returns null, instead of real table
Yes, it is. Mentioned commit caused that error.
I guess hydrate was missed in that commit, because here is creating new instance, without transfering all data from $this (builder) to $instance variable
In other words
Problem is, that calling
again, full POC:
Since 5.5.22 that test fails, but if you install 5.5.21 - this test pass with green.
Even more I modified in my vendor that file back into