angular-cn/packages/common/http
JoostK 8e8e89a119 fix(common): prevent repeated application of HttpParams mutations (#29045)
Previously, an instance of HttpParams would retain its list of mutations
after they have been materialized as a result of a read operation. Not
only does this unnecessarily hold onto memory, more importantly does it
introduce a bug where branching of off a materialized instance would
reconsider the set of mutations that had already been applied, resulting
in repeated application of mutations.

This commit fixes the bug by clearing the list of pending mutations
after they have been materialized, such that they will not be considered
once again for branched off instances.

Fixes #20430

PR Close #29045
2019-04-23 08:43:54 -07:00
..
src fix(common): prevent repeated application of HttpParams mutations (#29045) 2019-04-23 08:43:54 -07:00
test fix(common): prevent repeated application of HttpParams mutations (#29045) 2019-04-23 08:43:54 -07:00
testing docs(http): add information about body content type to flush method for testing (#29214) 2019-04-01 11:03:49 -07:00
BUILD.bazel build: turn off dts bundling for packages that still are not supported (#29128) 2019-03-07 10:47:20 -08:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
index.ts feat(common): new HttpClient API 2017-07-07 12:09:32 -07:00
package.json fix: correct several esm2015 entry-points in package.jsons (#22892) 2018-03-20 13:30:08 -07:00
public_api.ts fix(platform-server): avoid dependency cycle when using http interceptor (#24229) 2018-06-01 08:33:45 -07:00
tsconfig-build.json build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00