-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
- Laravel-mongodb Version: 5.2.0
- PHP Version: 8.2.27
- Database Driver & Version: 6.0.20
Description:
Steps to reproduce
- Create Model with property in
casts
method defined asarray
- Save Model
- Query Model from Collection in Studio 3T
Expected behaviour
I expected it to save as a MongoDB array.
Actual behaviour
It saved as a PHP string representation of an array.