Starting this issue to list down requirements for the generator. Feel free to add/critique.
The generator shall convert interface declarations to class declarations.
The generator should convert type declarations into class declarations that can produce code to create objects.
The generator shall handle union types.
The generator shall produce APIs in Python and Typescript.
The generator shall be able to handle optional members.
The generator shall be able to recognize if there are nested types and generate code that creates objects for those.
The generator shall handle recursive types.
The generator shall have unit tests written in Jest that test its functionality.
Starting this issue to list down requirements for the generator. Feel free to add/critique.
The generator shall convert interface declarations to class declarations. The generator should convert type declarations into class declarations that can produce code to create objects. The generator shall handle union types. The generator shall produce APIs in Python and Typescript. The generator shall be able to handle optional members. The generator shall be able to recognize if there are nested types and generate code that creates objects for those. The generator shall handle recursive types. The generator shall have unit tests written in Jest that test its functionality.