MitakM
Convex Community4y ago
7 replies
Mitak

Hey quick question about optional types

Hey, quick question about optional types. I was able to come up with a way to easily define if a type could be missing. My questions are:
1. is there a more elegant way to do so and
2. is there a way to enforce these types on the convex dashboard. In my understanding, the local schema.ts doesn't get applied on the dashboard, but instead the dashboard allows any data to be inserted.
image.png
image.png
Was this page helpful?