Error on data=["field1", "field2"] passing as uri parameter to index method
arthurkushman opened this issue · comments
Error on data=["field1", "field2"] passing as uri parameter to index method
The problem is present only for relations, especially for belongsTo
Deeper analysis of belongsTo
relations showed that there are foreign key binding on parent table ex.: article entity where topic_id must be stored to link article->topic tables. After slicing parameters we don't have the actual topic_id foreign key in article model instance.
This problem seems to me as bug leaking as slicing fields on model level always a catch.