adam-rocska/ts-codec

Allow for record codec unions

Opened this issue · 2 comments

smthn like:

record<Some & Other>(someCodec, someOtherCodec);

Or even better:

recordUnion(someCodec, someOtherCodec);

Strongly related but non-duplicative with issue #8