t
tRPC
Is it possible to access context in input? - tRPC
S
tRPC
•
3y ago
•
1 reply
safwan.rahman
Is it possible to access context in input?
Hi
,
I have a validator that requires to get context of prisma in the
input
input
, Is it possible to get the
context
context
in the input
? There are some fields that are required for some users
, I would like to handle this in validator level using zod
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
procedure input context
M
Mugetsu / ❓-help
4y ago
Is it possible to call one procedure in another?
T
TaylorFay / ❓-help
4y ago
The only way to access useQuery options without input is passing undefined to it?
K
kevinka / ❓-help
3y ago