Zod remove input data by default, with reportInput it could be enabled (view https://zod.dev/error-customization?id=include-input-in-issues)
Export separate validatorCompiler and serailizerCompier with reportInput enabled in safeParse call, e.g. as
validatorCompilerWithInput and serializerCompilerWithInput
Zod remove input data by default, with
reportInputit could be enabled (view https://zod.dev/error-customization?id=include-input-in-issues)Export separate validatorCompiler and serailizerCompier with reportInput enabled in
safeParsecall, e.g. asvalidatorCompilerWithInputandserializerCompilerWithInput