Похожие чаты

The as operator only tells typescript "trust me, this value

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?

1 ответов

8 просмотров

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

Похожие вопросы

Обсуждают сегодня

Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
46
How Will #Monero Be Attacked? First of all I want to tell you that this is not teaching the network attackers, the central regulators. They already know how to attack the net...
Li₿ΞʁLiøη
3
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
25
подскажите пожалуйста, как мне освободить результат записанный в переменную result? в чем проблема подскажите если МОЖЕТЕ?
Михаил Helper
28
вопрос по москвину - не понимаю вот такого вопроса похоже Сколько разных всегда завершающихся функций с типом a -> a -> b -> a -> a можно реализовать? Две функции одинаково...
Fedor
11
Слушайте, ещё такая интересная задачка. Сделан аудит действий пользователей через триггеры в базе, соответственно каждый пользователь имеет свой логин и пароль в базе. Это пре...
Сергей Бычков
11
есть тут кто-то , кто только начал изучать си? если проходите курс на степике или как-то сами изучаете, пишите, может, скооперируемся?..
Eule
25
Скажите, тут нет проблемы? IMyInterface1 = interface function GetInterface2: IInterface2; ... function TMyInterface.GetInterface2: IInterface2; begin Result := TI...
Ruslan aka DUDE
18
народ хелп. предыстория: pro-2015+high sierra ставил imazing[TNT], да еще что-то TNT, при попытке перетащить иконку в "программы" - кернел паники и мак перезагружался в один п...
Gcat@
7
Bhai mera Wazirx Account locked kr diya hei inhone to use unlock kese kru ?? Kisi ke ye problem aayi aur solve ho gayi hei to batao ?
Govind Jarwal
33
Карта сайта