Open DimitarTanev87 opened 10 months ago
Actually it turned out that the annotation had not been implemented. What is the use case you would need the annotation for?
To change the property name, to be something different than "type" when execute ".../$metadata".
Currently the only way to achieve this is to implement an own Name Builder. Doing so, you can override each property name. Let me know if this helps.
I added @EdmAlias annotation with name = "RandomName" on a field in my entity class: ... @EdmAlias(name = "RandomName") @Column(name = "type", nullable = false) private String type; ...
but the response still contains Type: ... Property Name="Type" Type="Edm.String" Nullable="false" MaxLength="255"/ ...