laravel / nova-issues

557 stars 34 forks source link

HasMany and MorphToMany with pivot attributes conflict #5116

Closed oskobri closed 2 years ago

oskobri commented 2 years ago

Description:

HasMany and MorphToMany linked to the same model cause the attributes of morph pivot table to be attached to hasMany relation.

Capture d’écran 2022-11-24 à 10 41 00

In my example, tagged at is an attribute of morph pivot table taggables (Other Tags), not tags table.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.