MugetsuM
tRPC3y ago
1 reply
Mugetsu

procedure input context

Is it possible to accesss context in trpc procedure input validation?

I have an aray of values in the trpc context and would like to make a procedure input schema to transform on those values to allow these as the input. Im using zod for input schema
Was this page helpful?