kabb8048K
Convex Community2y ago
3 replies
kabb8048

Custom data types

Does convex (or a third party convex lib) support custom data types in the database? For example, if I wanted to store a calendar date YYYY-MM-DD, I could store it in a string but would love for that to be converted to and from custom type at the edges of my code.

I know I can "just use code", but the way the database reader works, it seems tricky to do generically AND with type safety.
Was this page helpful?