t
tRPC
t
tRPC
express adapter namespaces
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
S
scottyeck
This would give you `trpc/auth.login` and `trpc/auth.somethingElse`
C
Chisom Oguibe
•
2/7/23, 7:09 PM
This point needs to be made clear in the docs
!
! it took me a while to realise this is how you would call child router endpoints using standard HTTP
.
C
Chisom Oguibe
This point needs to be made clear in the docs!! it took me a while to realise th...
M
mark salsbery
•
2/7/23, 8:04 PM
While true
, and just playing devil
’s advocate here
, calling tRPC endpoints from standard HTTP isn
’t RPC
M
mark salsbery
While true, and just playing devil’s advocate here, calling tRPC endpoints from ...
C
Chisom Oguibe
•
2/8/23, 12:48 PM
Yes you are correct
, can
't argue with you there
. My use case was calling trpc endpoints in my cypress test files and the only way to do that is to use cy
.request
(
<TRPC
_URL
>
)
M
mark salsbery
•
2/8/23, 1:04 PM
The namespace thing stood out more in the v9 docs I think
.
M
mark salsbery
The namespace thing stood out more in the v9 docs I think.
C
Chisom Oguibe
•
2/8/23, 1:10 PM
yeh agree