SuperType annotation transformed to subType

Hi there,

I have a question regarding Heterogeneous Document modelling.
In <PROJECT_NAME> we have lots of very similar models and most of them are generated. To make sure that we can display multiple documents that refer to the same super type in one screen we wanted to declare superTypes and subTypes.
In our case we decided to use the superType annotation so we don’t have to alter the super type model with each newly generated sub type.
However the subType annotation is the one which will be reflected in the modelGraph later on and is the one used by the UI.
Currently we expand all our models using the BatchDoumentModelExpander during build time as we cannot use data services at the moment. Unfortunately the step where the superType annotation is transformed to a subType annotation is done during runtime (according to: Modeling Heterogeneous Data | GETA12-Docs )

Is there a Utility somewhere which allows us to do the transformation already during build time?

Best regards,
Philipp

Hi @philipp-mild-glyph,

I am sorry about the late reply, unfortunately your topic somehow got lost and I only just found it again.

I spoke with the Kernel team, they do not offer such a utility and they would not really see it in the Kernel component anyway.

To give you the complete picture, I also spoke with the Data Services team. They do transform all superTypes to subTypes during model import, but this is not part of the public API at the moment and should not be used by projects.
They could make it public though so if your project starts using Data Services and would like to use this, you can create a requirement ticket for this.

So, as far as I am aware, there is currently no utility available in A12 for projects to use to do such transformations during build time.

Best,
Denise

Hi @denise-narrow-token,

thanks for following up on that topic.
I think for now we will not request for a public API from Data Services as stillt it is unclear if we are allowed to use it. So topic is closed for now.

Best regards,
Philipp