You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, z.ZodSet lacks any public API to access the schema of the set elements. I'm not sure if any is an oversight, but it would be a great addition.
Currently z.ZodArray, z.ZodRecord, and z.ZodMap all support such features. Doesn't seem to be too great an ask for a similar feature for z.ZodSet.
The text was updated successfully, but these errors were encountered:
The underscore would indicate that _def is not intended for public consumption and could change in the future. It would be preferred to have something that does not fall under that semantic situation.
6XGate
added a commit
to 6XGate/zod
that referenced
this issue
May 24, 2024
Currently,
z.ZodSet
lacks any public API to access the schema of the set elements. I'm not sure if any is an oversight, but it would be a great addition.Currently
z.ZodArray
,z.ZodRecord
, andz.ZodMap
all support such features. Doesn't seem to be too great an ask for a similar feature forz.ZodSet
.The text was updated successfully, but these errors were encountered: