This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
preprocess works but coerce and tranform do not work with trpc-openapi #453
When Zod's
coerceandtransformare used to modify the output schema, the generated OpenAPI document does not reflect those modifications. However, the API output reflects these modifications. Also, the TypeScript compiler shows errors about not being able to match between the.output()zod validation and the return type from the.query()method.