Curious if there any conventions around naming `Ro...
# ktor
l
Curious if there any conventions around naming `Route`s. E.g., do folks put
post
or
get
in the name of a
Route
, e.g.
postUser
?
s
Not sure about conventions, and this is coming from a client's perspective, but we at least use HTTP verbs in our API Service functions, e.g.
postLogin()
. That's mainly just to make it quick to find when communicating with back-end Devs. Our repositories would be different.
👍 1
l
Yeah, there's definitely some sense in it
One thing's for sure: someone will complain no matter what convention I go with lmao
mood 2 1
s
For sure! 😅