S.taggedUnion for easier creation of tagged unions vs S.union and S.attachPropertySignature #1834
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
schema
Instead of having to use S.union with S.attachPropertySignature directly to create tagged objects, a simpler solution might be to add a S.attachSignatures helper that fn that abstracts this behavior. The naming might not be the best but the idea is that the original api and the alternative api below produce identical schemas.
The text was updated successfully, but these errors were encountered: