Closed rebrown547 closed 8 years ago
If you are using Breeze, you don't need to use the http-client. Have you tried the Aurelia-Breeze plugin? I use it, and it works great.
Is this still an issue? If so, seems like a great opportunity for a community PR to address it. Shouldn't be too hard. The source code for the fix is above...so just need someone who wants to contribute it.
I addressed this issue and sent pull request.
Excellent. I just saw it come through. It will go out no later than Tuesday.
Breeze Query Fails when a parameter object is included. When there are existing parameters, the parameter prefix should be '&' not '?'.
In 1.0.0-Beta.1 the following code RequestMessage.prototype.buildFullUrl should be : if (this.params) { var qs = _aureliaPath.buildQueryString(this.params); url = qs ? url + (this.url.indexOf('?') < 0 ? '?' : '&') + qs : url; }