Nir Weiner
01/20/2022, 11:39 PMCreateOrder(productsIds: string[])
api, how do I validate those product exists?
I mean, how do I organize the folders in a way that its easy to validate this information?
For example, if the data is stored in dynamoDB
1. Should I query the dynamoDB products table directly from the service?
2. Should I call the GetProduct() api?
Is there any trivial approach here?Ross Coundon
01/21/2022, 6:55 AM