Creating objects with Schema.Union in Effect Typescript

I know that Schema.Struct has a .make() method to create a new object. At the moment though I am working with a Schema.Union(Schema.Struct({ ... }), Schema.Struct({ ... })) which has no .make() method sadly and it seems I have to use Schema.decode(Union)({ ... }). Is this idiomatic or is there a slightly more ergonomic way like with other structs?
Was this page helpful?