Kas.st - Hi everyone, I have a schema with an e...
Hi everyone, I have a schema with an enum:
how can I get all the valid values from the enum?
I saw that theres a
.options()
method on z.enum
but I dont know how I'll get to that if I only have the schema?1 Reply
Solution
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View