Arc for .NET classifies OneOf and Result response unions with several visible members. Arc for TypeScript supports a single visible response type and rejects ambiguous unhandled alternatives at generation. Design an explicit, typed way for a command to return one of several success shapes (plus rejected/denied), with a stable wire contract matching .NET and generated client types, without changing the default wire behavior.
Arc for .NET classifies OneOf and Result response unions with several visible members. Arc for TypeScript supports a single visible response type and rejects ambiguous unhandled alternatives at generation. Design an explicit, typed way for a command to return one of several success shapes (plus rejected/denied), with a stable wire contract matching .NET and generated client types, without changing the default wire behavior.