Azure / autorest.typescript

Extension for AutoRest (https://github.com/Azure/autorest) that generates TypeScript code. The transpiled javascript code is isomorphic. It can be run in browser and in node.js environment.
MIT License
177 stars 73 forks source link

Serialization - Implementation - Unions #2601

Closed dgetu closed 1 week ago

dgetu commented 2 weeks ago

Implement serialization for union types. This should account for handling unions more generally, but only implement the minimum necessary for feature parity - i.e. polymorphic discriminated unions and special unions. Special unions are unions which contain: