is of this type", it doesn't affect runtime. you can destructure the object: const { first_name: firstName } = req.body, but why not just go with whatever the API uses?
Yeah I think I will go just for underscore case, 'cause I would like to give to my API consumers the possibility to use API in underscore case, but internally I would use camelCase, nevermind, I will go for underscore case without give an extra complexity, thanks
Обсуждают сегодня