This provides the option to exclude annotations or limit it to a specific set of annotations.
The default is to include annotations so existing behavior has been maintained.
Limit annotations to any starting with "OData.Community.Display"
$client->getList('entityname', ['IncludeAnnotations' => 'OData.Community.Display.*']);
Add in the ability to set the odata.include-annotations header using the queryOptions array.
Setting key: IncludeAnnotations Setting values: false | string See string settings for annotations: https://learn.microsoft.com/en-us/odata/webapi/include-annotations
This provides the option to exclude annotations or limit it to a specific set of annotations. The default is to include annotations so existing behavior has been maintained.
Exclude annotations
$client->getList('entityname', ['IncludeAnnotations' => false]);
Limit annotations to any starting with "OData.Community.Display"
$client->getList('entityname', ['IncludeAnnotations' => 'OData.Community.Display.*']);