DEV Community

Discussion on: Creating your first Node.js REST API with Nest and Typescript

Collapse
 
kasanielaski profile image
kasanielaski

Great article. In last pic you used map + filter inside updateProduct method. Whould it be better to combine these and use only one reduce call

Collapse
 
softchris profile image
Chris Noring

please show me what you have in mind