Using Breeze 1.3.5
Following the "orders for Chai" example, I tried to form a similar query. However, I found that when the resourceName contains a "?", other OData parameters are not correctly added. For example If I do the following:
var query = new breeze.EntityQuery('Products/?categoryId=1234')
.top(10);
It sends a request that looks like this:
http://domain/controller/Products/?categoryId=1234?$top=10
?$top should be &$top
Because the '?' is used instead of '&', my context controller gets an obviously invalid categoryId that looks like:
1234?$top=10
Am I doing something wrong or is this just a defect? Any ideas or workarounds would be greatly appreciated! Thanks!