Reference discussion: https://github.com/amazon-ion/ion-cli/pull/61#discussion_r1412361061
Currently some of the API generation related code lives in the implementation inside generator. This needs to be moved to the templates defined for different data types.
Moving as much code to the templates makes it easy to maintain code and adopt new changes, as well as extend new APIs and templates.
Reference discussion: https://github.com/amazon-ion/ion-cli/pull/61#discussion_r1412361061 Currently some of the API generation related code lives in the implementation inside
generator
. This needs to be moved to the templates defined for different data types. Moving as much code to the templates makes it easy to maintain code and adopt new changes, as well as extend new APIs and templates.