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

Modular: Encapsulate serializers into functions #2613

Closed joheredi closed 1 week ago

joheredi commented 1 week ago

This PR encapsulates inline serializers into functions to be able to handle nested scenarios and cyclic models. As well as filling in some gaps such as serializing additional properties, optional and nullable properties.

Fixes:

1971

2220

2219

2216

2506