mtwilliams/typespec

Use a "builder" pattern to make typespecs easier to read.

mtwilliams opened this issue · 0 comments

This blog post details its use-case in ORMs.

For example, we could achieve:

Typespec[Typespec.boolean | Typespec.number | Typespec.string]