Require array in reference/join defaults#820
Conversation
005c09c to
86bf2c4
Compare
9e122c4 to
c328144
Compare
c328144 to
4f0e36a
Compare
DarkSide666
left a comment
There was a problem hiding this comment.
This is quite big BC break, but for consistency and good code sake it should be like that.
One thing to also think about is maybe rename join master_field -> our_field and foreign_field -> their_field? Like we have in references? That would be more consistent then too. Of course that would also be BC break, but ...
This idea I would support. For consistency we should also consider |
|
I have no resources to pursue another renames, but I like that idea to. |
hasOne/hasMany was nice with string/object, but allowing string violates seed definition
if we however allow a seed for Model directly (without
['model' => ...]) then it can not be distinguished from type only (array vs. array)thus this impl. is strict, but the only one simple and reliable