Simplifying Union Creation with `Data.taggedEnum` and Factories

Is there a
Schema
equivalent for Data.taggedEnum? Aka. a simpler way to create a union of TaggedStructs, potentially also with factories for instances of the union's members?
Was this page helpful?