savage unreal
savage unreal
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
.optional is in ZodType, no?
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
or at least warn users
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
zod should throw an error
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
bro, i edited the message (before you send the playground link)
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
try yourself
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
it is { name?: string | undefined; }
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
im sure it isnt
37 replies
ZZod
Created by savage unreal on 11/4/2024 in #questions
unnreaal - tsconst schema = z.coerce.string()....
nop
37 replies