Skip to content

@odata.count vs @count #100

@maginseb

Description

@maginseb

I noticed that the generated API-documentation indicates a property called "@count" if the csdl-version is 4.0 or higher.

let CountPropertyObj = { [csdl.$Version > '4.0' ? '@count' : '@odata.count']: ref('count') };

CAP refers to the count property by @odata.count. Could it be that the ternary operator is switched around?

Metadata

Metadata

Assignees

Labels

keepaliveDo not close, even if it would become stale.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions