(query: QueryParamsType, key: string)
| 4283 | } |
| 4284 | |
| 4285 | protected addObjectQueryParam(query: QueryParamsType, key: string) { |
| 4286 | const value = query[key] |
| 4287 | return Object.keys(value) |
| 4288 | .map((subKey) => { |
| 4289 | const subValue = value[subKey] |
| 4290 | return this.encodeQueryParam(`${key}[${subKey}]`, subValue) |
| 4291 | }) |
| 4292 | .join('&') |
| 4293 | } |
| 4294 | |
| 4295 | protected toQueryString(rawQuery?: QueryParamsType): string { |
| 4296 | const query = rawQuery || {} |
no test coverage detected