0

I tried to use $count in an $expand like this query

.../OData/Foo(1)?$expand=Bars($count=true)

However count is no where to be found in the result.

{
  "...": "...",
  "Bars": {
    "...": "..."
  }
}

No error either. I'm using ASP.NET Web API OData 5.4, which is using OData v4.

What gives? Not implemented yet?

Snæbjørn
  • 10,322
  • 14
  • 65
  • 124

1 Answers1

2

This feature hasn't been implemented yet. A related issue has been created https://github.com/OData/WebApi/issues/165 .

QianLi
  • 1,088
  • 12
  • 22