Closed astampoulis closed 6 years ago
Any suggestions for better names for endpoint
and fragment
welcome!
What do people think of:
url`api`
.slash`foo`
.cap`:userId`
.slash`bar`
I'm wondering how much string interpolation gives us, especially since now we'll have middleware that are take objects as parameters. And then we'll have a mix of backticks and parens. Perhaps we're better off sticking with parens?
@ArcherWheeler Oh sorry, I closed this before deciding on names, but we could do that change separately!
Adding syntactic sugar to make writing endpoints nicer.
Paired with @ArcherWheeler on this one.
Closes #11.