Defining a Struct Field Based on Union of Other Structs in Effect/Schema
Hi everyone, I am new to use effect/schema. I am trying to define one field of a Struct based on the field of the Union of others Struct.
I need to have the union of the different
Here's the code
I need to have the union of the different
name to be "a" | "b" but the code below returns me S.SchemaClass<{name: "a" | "b"}>Here's the code
