Wanted to start by saying, wow, this extension is great. Props to the creators! 😄
I have a use case where a transaction has items. The Transaction table and the Item table are linked by a many-to-many relationship using a linking table. I want my JSON to return a transaction object with child object items. The issue arises when I have multiple of the same item on the same transaction. The API only returns one item even though there are two entries in the linking table. I didn't think this would be expected behavior.
Wanted to start by saying, wow, this extension is great. Props to the creators! 😄
I have a use case where a
transaction
hasitems
. TheTransaction
table and theItem
table are linked by a many-to-many relationship using a linking table. I want my JSON to return atransaction
object with child objectitems
. The issue arises when I have multiple of the sameitem
on the sametransaction
. The API only returns oneitem
even though there are two entries in the linking table. I didn't think this would be expected behavior.