Title: chore(http): convert RequestMethods to const list · Issue #2904 · angular/angular · GitHub
Open Graph Title: chore(http): convert RequestMethods to const list · Issue #2904 · angular/angular
X Title: chore(http): convert RequestMethods to const list · Issue #2904 · angular/angular
Description: I made the RequestMethodsMap class during the big refactoring to support Dart, so that it could be declared at the top-level of the enums module. The class takes an enum (integer) and returns the corresponding enum's name. Like requestMe...
Open Graph Description: I made the RequestMethodsMap class during the big refactoring to support Dart, so that it could be declared at the top-level of the enums module. The class takes an enum (integer) and returns the c...
X Description: I made the RequestMethodsMap class during the big refactoring to support Dart, so that it could be declared at the top-level of the enums module. The class takes an enum (integer) and returns the c...
Opengraph URL: https://github.com/angular/angular/issues/2904
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"chore(http): convert RequestMethods to const list","articleBody":"I made the `RequestMethodsMap` class during the big refactoring to support Dart, so that it could be declared at the top-level of the enums module. The class takes an enum (integer) and returns the corresponding enum's name. Like `requestMethodsMap.get(0)// -\u003e 'GET'`But it should be able to be a constant and provide the same usefulness for converting `RequestMethods` enum values to strings and vice versa, with less overhead\n","author":{"url":"https://github.com/jeffbcross","@type":"Person","name":"jeffbcross"},"datePublished":"2015-07-06T19:13:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2904/angular/issues/2904"}
| 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:5f17cac8-03c6-f59c-c573-9ac9b0d6c5a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E3E:1F1A87:5FA08F:7C1831:6A5FF93F |
| html-safe-nonce | 072f72798a39c3c0015f7ae4214aa020efb6a6d5f8e81a26336c626293f875d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTNFOjFGMUE4Nzo1RkEwOEY6N0MxODMxOjZBNUZGOTNGIiwidmlzaXRvcl9pZCI6IjY4NTI1NjAzMTMyNjk2MTQ5MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7816b7bb80b208fbc225f4f643a44d9df000b173273f5abf25d28caf1d6e0857 |
| hovercard-subject-tag | issue:93354918 |
| 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/2904/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d38e69fe9e6591f8d26fdeea9b44930e718ef3e085ed63c82e6650f46c5d36cd/angular/angular/issues/2904 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d38e69fe9e6591f8d26fdeea9b44930e718ef3e085ed63c82e6650f46c5d36cd/angular/angular/issues/2904 |
| og:image:alt | I made the RequestMethodsMap class during the big refactoring to support Dart, so that it could be declared at the top-level of the enums module. The class takes an enum (integer) and returns the c... |
| 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 | 79522f2cee5c5409f33a714312a1a68d41ad77a807626020d980fb1eb81def07 |
| 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 | 3df4fbea9b6b5ead5c6724a99dc5f5b62caa864b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width