Title: refactor(http): reduce function args to single parameter with union type · Issue #2416 · angular/angular · GitHub
Open Graph Title: refactor(http): reduce function args to single parameter with union type · Issue #2416 · angular/angular
X Title: refactor(http): reduce function args to single parameter with union type · Issue #2416 · angular/angular
Description: The existing implementation signature of http (PR #2360) is: http(url, options), similar to the native fetch API. but this makes it difficult to compose http into an observable chain for use cases where options are also passed in: someIn...
Open Graph Description: The existing implementation signature of http (PR #2360) is: http(url, options), similar to the native fetch API. but this makes it difficult to compose http into an observable chain for use cases ...
X Description: The existing implementation signature of http (PR #2360) is: http(url, options), similar to the native fetch API. but this makes it difficult to compose http into an observable chain for use cases ...
Opengraph URL: https://github.com/angular/angular/issues/2416
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"refactor(http): reduce function args to single parameter with union type","articleBody":"The existing implementation signature of http (PR #2360) is: `http(url, options)`, similar to the native `fetch` API. but this makes it difficult to compose http into an observable chain for use cases where options are also passed in: \n\n``` js\nsomeInputObservable\n .map(e =\u003e {\n headers: {\n timestamp: timeService.now()\n }, \n url: `http://service/${e.target.value}`\n })\n .flatMapLatest(http) //would not work since first arg is expected to be url string\n```\n","author":{"url":"https://github.com/jeffbcross","@type":"Person","name":"jeffbcross"},"datePublished":"2015-06-08T21:23:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2416/angular/issues/2416"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:62e15ee8-6a17-f54f-a86c-b8e73d99135e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B974:29FA8D:128260:17FCBB:6A61449D |
| html-safe-nonce | d28f5874c25edc7f223be22f5a5e301bb58a30b995f5fc9f38f6fe83bf886829 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTc0OjI5RkE4RDoxMjgyNjA6MTdGQ0JCOjZBNjE0NDlEIiwidmlzaXRvcl9pZCI6IjQxNDkzNjU3ODA0NDE1NDc5MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e96d0c9de59a3082e206059ce1943fe9f7b535630abdec7b39c1caa8f41640b5 |
| hovercard-subject-tag | issue:86336223 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/2416/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eaf1fd9164d24a011e059e7154396d23ce583c0a07c6384d72415f3323563a77/angular/angular/issues/2416 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eaf1fd9164d24a011e059e7154396d23ce583c0a07c6384d72415f3323563a77/angular/angular/issues/2416 |
| og:image:alt | The existing implementation signature of http (PR #2360) is: http(url, options), similar to the native fetch API. but this makes it difficult to compose http into an observable chain for use cases ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeffbcross |
| hostname | github.com |
| expected-hostname | github.com |
| None | 358090e896abe1815bef70fcaae0a12d8ebf315874207428312daf7419e9c7c9 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87be91c8b3c813d60ac5c8ece422529a03a7e332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width