Closed erunion closed 2 months ago
With the 2.0.0 release ResponseValidationError is no longer exported from the main export, instead only from dist/ResponseValidationError:
ResponseValidationError
dist/ResponseValidationError
import { ResponseValidationError } from 'fastify-type-provider-zod/dist/ResponseValidationError';
Is loading it from here the new preferred way of accessing this error class or can/should it be added back into the main export?
This is a bug. I'll restore it, thanks!
Brilliant, thank you!
Any updates on this?
Fix released in 2.1.0
With the 2.0.0 release
ResponseValidationError
is no longer exported from the main export, instead only fromdist/ResponseValidationError
:Is loading it from here the new preferred way of accessing this error class or can/should it be added back into the main export?