ion-cli icon indicating copy to clipboard operation
ion-cli copied to clipboard

Modify `AbstractDataType` to be independent from target programming language

Open desaikd opened this issue 1 year ago • 0 comments

Currently ADT has a dependency on the target programming language through namespace paths. The FullyQualifiedTypeName and FullyQualifiedTypeReferences in ADT use target programming language to determine the namespace path format. (For example, Java uses class/enum names but Rust uses a module name + struct/enum name)

The ADT should just store the namespace as strings and on the template side or generation side it should properly format namespace path based on the target programming language.

Reference discussion: https://github.com/amazon-ion/ion-cli/pull/163#discussion_r1823154978

desaikd avatar Oct 30 '24 19:10 desaikd