safwan.rahman
safwan.rahman
TtRPC
Created by safwan.rahman on 6/5/2023 in #❓-help
Is it possible to access context in input?
Hi, I have a validator that requires to get context of prisma in the input, Is it possible to get the 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.
2 replies