idempotentI
Convex Community2y ago
84 replies
idempotent

Convex ents v.optional() makes user Value | undefined

Hi guys, when I add
.field('subscriptionId', v.optional(v.string()))
to my schema all values suddenly become
Value | undefined
, but when there are no optional fields no errors arise. How could this be fixed?
YA2SmEs.png
Was this page helpful?