Config Entity for Structures: Syntaxes and Code Generation Support¶
Custom attributes are supported for a subset of structure type payloads, so that it facilitates to enrich existing APIs. Note that the custom attributes are supported only for structure-based payloads of unbound projection actions in which structures are:
Defined using (copying attributes) an entity
With nestedwithcrud for Create and/or Update
Once the above conditions are met, you can utilize the following annotation to annotate the entity from which custom attributes should be included in the structure within relevant payloads.
Syntax:
configentity <entity name>
Sample:
Projection:
Fragment:
Validations:
Value of the configentity should be same as the value (entity name) set for using clause.