Closed csjx closed 3 years ago
This is partially complete. We now return full Customer
objects embedded in the Membership
object. I'm now working on changing the Membership.product
to Membership.products
so we return a list of Products
associated with the Membership
.
We discussed this further, and decided that we actually don't what to embed the full product
and customer
objects. The reversion is part of #65 , so I'm closing this issue.
A
Membership
currently includes the following attributes:To support listing memberships along with their associated
Customer
data and theProducts
that are part of the membership, change theMembership
model to include the fullCustomer
object that is associated with it based on theid
. Likewise, return theProducts
associated with theMembership
. The resulting model will be: