News for hackers. Stuff that matters.
Re:Zod 4 by rafram on Monday May 19, 2025 @01:42PM (#44032495)
Yeah, importing two versions could allow you to pass v3 objects to v4 methods and vice versa, and that seems like an extremely bad idea (if it would even type-check / run).
Re:Zod 4 by colinmcd on Tuesday May 20, 2025 @02:45PM (#44044591)
It won't typecheck, which is good in this case, because as you say that's a very bad idea :)