t
tRPC
J
tRPC
•
3y ago
•
4 replies
john99
Can a URL be formatted with dashes, such as "user-list" in the context of trpc?
Can a URL be formatted with dashes
, such as
"user
-list
" in the context of trpc
?
const appRouter = router({
userList: publicProcedure.query(async () => {
const appRouter = router({
userList: publicProcedure.query(async () => {
I
'd prefer not to write
router({'user-list'....
router({'user-list'....
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
When using createServerSideHelpers can the context be typed as GetServerSidePropsContext?
D
denik1981 / ❓-help
3y ago
Has anyone passed supabase user to the tRPC context in Expo?
C
Chill Guy / ❓-help
2y ago