mean-expert-official / loopback-sdk-builder

Tool for auto-generating Software Development Kits (SDKs) for LoopBack
Other
399 stars 178 forks source link

Plus signs are removed in requests sent from Angular #573

Closed pbouda closed 6 years ago

pbouda commented 6 years ago

What type of issue are you creating?

What version of this module are you using?

Write other if any:

Please add a description for your issue:

When I sent a request to a LB remote method that uses query params the plus signs are removed from any data. This is a bug in Angular, see for example:

https://github.com/angular/angular/issues/11058

I tried to add the workaround they mention to the current master, and it seems to work fine. The PR is here, but I saw that you want PRs only for development. But in the development branch you already switched to the new HttpRequest in @angular/common/http. I can send another PR also for development, but when do you plan to release the next version? I would need this fix soon, and would like to see it also in master. What do you think? Do you think this fix makes sense in the the first place, and where should we apply it?

jonathan-casarrubias commented 6 years ago

Hey @pbouda thanks for sending your patch, currently master is behind development because there is a very weird dependency issue that makes the CI to fail, therefore I'm unable to merge into master until that issue is fixed.

But I was bottlenecking the progress sent to Dev so I decided to publish what is in DEV, so whatever you install now from NPM (2.2.0) is what we have in dev, so the Ideal would be that you implement your patch over dev instead of master.

Cheers Jon

pbouda commented 6 years ago

Ok, I sent a new PR: https://github.com/mean-expert-official/loopback-sdk-builder/pull/589

jonathan-casarrubias commented 6 years ago

landed