Closed eggers closed 2 years ago
Yup. You either have to disable select as well or examine the query string inside your method and detect unwanted syntax.
This is in the nature of LINQ. Breeze is not involved. The EnableBreezeQuery
attribute mostly just delegates to the Web API EnableQuery
.
I'm open to suggestions.
I am finally getting around to using the EnableBreezeQuery as described in #12, but I'm having an issue.
I've set the options to disable expand, so as expected, if I call:
orders?$expand=privateObject
, I'll get the expected error:However, if I just call:
orders?$select=privateObject
, the privateObject will be returned. It looks like you can by pass the expand restriction by just use$select