You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
laravel/framework#48852 updated the way method's are called/proxied.
It seems that it requires that the list with methods should be lowercase, as the Mongo Builder class doesn't have that the Builder is returned instead of the method that should have been called.
Steps to reproduce
Laravel app version 10.30.0
create connection / model which uses Mongo as backend
$model->id would return the Builder
Expected behaviour
When calling $model->id I expect a string with the id for the model.
Actual behaviour
Calling $model->id returns a Builder instance.
The text was updated successfully, but these errors were encountered:
db.version()
gives me 7.0.0I've created #2661 for this issue.
Description:
laravel/framework#48852 updated the way method's are called/proxied.
It seems that it requires that the list with methods should be lowercase, as the Mongo Builder class doesn't have that the Builder is returned instead of the method that should have been called.
Steps to reproduce
$model->id
would return the BuilderExpected behaviour
When calling
$model->id
I expect a string with the id for the model.Actual behaviour
Calling
$model->id
returns a Builder instance.The text was updated successfully, but these errors were encountered: