welf
10/19/2017, 1:09 AMtype Dress, type Shoes, type Suit, type TShirt, how can I put them into the list of field products in the type Cart to reference all products added to the shopping cart? With `union type`s or `interface`s I can unite all my product types under the type Product and then put them all into the list in products: [Product!]! field of the type Cart.
What is the best or recommended practice to do it without `interface`s and `union type`s?philippbosch
10/20/2017, 11:36 AM