Constraining Generics to Schema.String or Schema.Enums in Type Construction
Is there a type that can be used in a generic to only accept a Schema.String or Schema.Enums? I'm trying to construct a schema where a value is definitely a string but let the call site optionally provide an Enum to further constrain the value if necessary. Perhaps that's the wrong approach though.
