markusjwetzel/laravel-datamapper

Rethink relationship names

Opened this issue · 0 comments

The Eloquent names for relationships might not be the best choice. Another possibility might be OneToOne, OneToMany etc. and a morph=true|false option to declare polymorphic relationships.

Also for many-to-many relations it might not be necessary to define an inverse side.