Automate trpc router definition using prisma-trpc-generator
I am trying to generate trpc router along with zod schema using prisma-trpc-generator. I am facing three problems
- contextPath :- as it was mentioned in the trpc file in the server folder there is no need to modify the file, should I export the context by default?
- How to provide trpcOptionsPath
- Be default publicProcedure gets exposed by the generator. How to export both publicProcedure as well as protectedProcedure