mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
- Extends URLSearchParams API to include operations for combining
different URLSearchParams objects:
These new methods include:
setAll(otherParams): performs `this.set(key, values[0])` for each
key/value-list pair in `otherParams`
appendAll(otherParams): performs `this.append(key, values)` for
each key/value-list pair in `otherParams`
replaceAll(otherParams): for each key/value-list pair in
`otherParams`, replaces current set of values for `key` with
a copy of the list of values.
- RequestOptions do not merge search params automatically (because
there are multiple ways to do this). Instead, they replace any
existing `search` field if `search` is provided. Explicit merging
is required if merging is desirable.
- Some extra test coverage added.
Closes #2417
Closes #3020
|
||
|---|---|---|
| .. | ||
| benchmark/transform | ||
| change_detection | ||
| core | ||
| debug | ||
| di | ||
| directives | ||
| dom | ||
| facade | ||
| forms | ||
| http | ||
| mock | ||
| profile | ||
| reflection | ||
| render | ||
| router | ||
| services | ||
| test_lib | ||
| transform | ||
| util | ||
| web-workers | ||