I found this SO: MaxExpansionDepth answer with latest webapi and breezes
But this only applies to one method on the controller. Applying the BreezeQueryable attribute to the controller itself breaks the entire controller at runtime with this exception: Token PropertyName in ArrayStart state will result in an invalid JSON object. Way ".
This is presumably because not all methods of my (large) bridge controller return IQueryable.
So how do I change MaxExpansionDepth for my entire breeze controller? The BreezeControllerAttribute seems to accept all the parameters of the BreezeQueryableAttribute EXCEPT MaxExpansionDepth.
Thanks Mathias
breeze
mathias999us
source share