Function: annotateEntities()
annotateEntities(
items,ctx):Record<string,unknown>[]
Defined in: packages/core/src/response/odata-annotation.builder.ts:107
Annotate an array of entity objects with OData v4 metadata annotations.
Applies annotateEntity to every item in the array and returns a new array. Does not mutate the input array or any items.
Parameters
items
Record<string, unknown>[]
The array of entity objects to annotate
ctx
The annotation context
Returns
Record<string, unknown>[]