I\'m having yet another issues with navigation properties but this time my configuration is WCF Data Service + EF.
Basically the metadata looks good, I have the referent
As a follow up, the issue is just that:
-with classic ODATA service, navigation properties are embedded in an object called 'results'.
:
Whereas with WebAPI service, navigation properties are just an array.
Then at some point in breeze code there's the following test:
// needed if what is returned is not an array and we expect one - this happens with __deferred in OData.
if (!Array.isArray(relatedRawEntities)) return null;
and in the case of classic ODATA service, it obviously returns null and navigation property is not populated.
I don't know how to make myself any clearer than that. It does not look like a problem with my metadata, but more like a bug in breeze.
Can you confirm that what I'm saying makes sense ? Can we do something about that ?