Closed UltimateGG closed 2 months ago
Instead of instanceof checks which break in monorepos, there are fields on the Zod objects with the type as a string. See https://github.com/colinhacks/zod/issues/2241
instanceof
Specifically, https://github.com/colinhacks/zod/issues/2241#issuecomment-2142688925 may work.
Oi! Nice one. Will do.
Hey! Good news, I've changed that behaviour with the latest 2.3.1 release.
Instead of
instanceof
checks which break in monorepos, there are fields on the Zod objects with the type as a string. See https://github.com/colinhacks/zod/issues/2241Specifically, https://github.com/colinhacks/zod/issues/2241#issuecomment-2142688925 may work.