Problem: I want to use a TypeScript union type, but: The list of options is...


Problem: I want to use a TypeScript union type, but:

The list of options is long (dozens, but less than 100)
The list is in the DB, and changes occasionally

Do I have to use a string type? Any solutions?

cc @mattpocockuk

View original on X