Improve Relationship record mappings
HasOne/MorphOne has been updated to use more pure laravel logic,
here we are looking at updating
-
HasMany/MorphMany -
BelongsTo/MorphTo -
BelongsToMany/MorphToMany
** others to add in
-
HasManyThrough -
HasOneThrough -
MorphMany (extends HasOneOrMany) -
MorphOne (extends HasOneOrMany) -
MorphPivot (do we need ?)
Completion Criteria:
-
each relationship works as expected with unit tests to confirm
Edited by Craig Smith