Use a "builder" pattern to make typespecs easier to read.
mtwilliams opened this issue · 0 comments
mtwilliams commented
This blog post details its use-case in ORMs.
For example, we could achieve:
Typespec[Typespec.boolean | Typespec.number | Typespec.string]