pentagon icon indicating copy to clipboard operation
pentagon copied to clipboard

Export instance of zod

Open waptik opened this issue 8 months ago • 1 comments

This library uses a locked version of zod which is v3.21.4. When a user uses a new version to use as schema, the editor(eg. vscode) points out a type definition error when you hover to the section in question so you are forced to downgrade your version and notify deno-lint to ignore that error. So i'd suggest that this library also export the instance of zod being used for users to use that instead in order to prevent such situations.

waptik avatar Oct 08 '23 09:10 waptik