Any way to generate validation schema for prisma s...
# orm-help
p
Any way to generate validation schema for prisma somehow? e.g. spit out a yup/zod/jsonschema type based on args needed. some libraries require some validation schema such as yup schema or zod for args. Similar to how nexus requires args: { stringArg() } and then the resolver just calls prisma with the args. Would be great if we could have some validation schema that hooks into nexus and other libs in a standard way just be spit out. I know nexus-plugin-prisma takes care of the nexus need, but there are other libs out there with similar needs.
CC @KATT
k
That would be neat!