Z
Zod7mo ago
Luan Mário

Luan Mário - Guys, I need help, I'm using discr...

Guys, I need help, I'm using discriminatedUnion to join the schemas, but I'm not able to pass more than one defaultValues ​​when starting, it's only accepting one
2 Replies
Scott Trinh
Scott Trinh7mo ago
Can you show us what you're trying to do? Ideally with a typescript playground link?
janglad
janglad7mo ago
I'm assuming they're trying to set a default value per discriminator value?

Did you find this page helpful?