Conditional Validation in Structs Based on Discriminated Union
Is there a way to conditionally validate a struct, based on a discriminated union?
How would I achieve the validation for
How would I achieve the validation for
prefix only if enabled: true?
