union-optional-discriminator.json: In union 'MyUnion':
union-optional-discriminator.json:6: discriminator member 'switch' of base type 'Base' must not be optional