Mohammad Mortazavi

Results 7 comments of Mohammad Mortazavi

@GromNaN According to the [tests](https://github.com/mongodb/laravel-mongodb/blob/1c2d1fe29a53278ec34a50c1a289b5e3a8f1a838/tests/EmbeddedRelationsTest.php#L543), it is fixed now.

I guess it is fixed and this issue no longer exists. If it still exists, please let me know how I can produce it. @Giacomo92 @sts-ryan-holton

@alcaeus I was checking this problem a couple of days ago. It's really not working. As mentioned in #2393, if you don't cast your values before storing them in the...

@masterbater They're the same as the Eloquent's `hasMany` or `hasOne`. You can pass your custom keys as parameters. For `hasOne`: https://github.com/mongodb/laravel-mongodb/blob/963d01f1af6b1d54082399972523bde4abdf0788/src/Eloquent/HybridRelations.php#L46 For `hasMany`: https://github.com/mongodb/laravel-mongodb/blob/963d01f1af6b1d54082399972523bde4abdf0788/src/Eloquent/HybridRelations.php#L102 The issue that you referred to,...

Could you please share your models and their relationships?

Sorry for the delay. I will work on this whenever I find some free time.