Obtaining and Refining an Option from a Generic String using Schema
I'm trying to obtain an
Can I leverage
Option from a generic string and refine it as an union a, b and c. If empty I get Option.None. I already have a combinator string -> Option<string> when empty.Can I leverage
Schema.union/Schema.literal without having to map every value in transform after my combinator?