lnu
lnu

Reputation: 1414

Breeze: $expand not working with breeze/web api2

We migrated to webapi 2 and $expand is not working anymore on collections. We are using NHibernate with breeze 1.4.7.

When we try to expand a collection, it simply returns an empty array. The odd part is that the generated sql follows the usage of the expand keyword.

The same code is working as expected with web api v1

Is it a bug in the web api 2 version of breeze?

Upvotes: 2

Views: 199

Answers (1)

Steve Schmitt
Steve Schmitt

Reputation: 3209

This is a bug. MS changed some of the OData handling in WebApi 2, and our NH support didn't change with it.

The fix is in 1.4.8 (expected to be out tomorrow). We apologize for the inconvenience.

Upvotes: 2

Related Questions