IOM
IOM
Aarktype
Created by Father Christmas on 2/9/2025 in #questions
What is the ArkType equivalent of Zod's safeParse?
then you'd have the equivlanet
18 replies
Aarktype
Created by Father Christmas on 2/9/2025 in #questions
What is the ArkType equivalent of Zod's safeParse?
and if error return a value for the error
18 replies
Aarktype
Created by Father Christmas on 2/9/2025 in #questions
What is the ArkType equivalent of Zod's safeParse?
Just wrap it in try catch in a function
18 replies
Aarktype
Created by Father Christmas on 2/9/2025 in #questions
What is the ArkType equivalent of Zod's safeParse?
18 replies
Aarktype
Created by IOM on 2/4/2025 in #questions
Is there an equivalent of zod.safeParse() for parsing incoming JSON requests?
ahhh okay got it, thanks! Will check it out
8 replies
Aarktype
Created by IOM on 2/4/2025 in #questions
Is there an equivalent of zod.safeParse() for parsing incoming JSON requests?
No description
8 replies
Aarktype
Created by IOM on 2/4/2025 in #questions
Is there an equivalent of zod.safeParse() for parsing incoming JSON requests?
Hey thanks for the links. Ultimate goal is really to parse the JSON string into a Javascript object of the expected schema
8 replies