Skip to content

chore(http): remove RequestMethodsMap#3843

Closed
rixrix wants to merge 2 commits into
angular:masterfrom
rixrix:http-remove-requestmethods
Closed

chore(http): remove RequestMethodsMap#3843
rixrix wants to merge 2 commits into
angular:masterfrom
rixrix:http-remove-requestmethods

Conversation

@rixrix
Copy link
Copy Markdown

@rixrix rixrix commented Aug 26, 2015

fixes #2904

@jeffbcross jeffbcross self-assigned this Aug 26, 2015
@jeffbcross
Copy link
Copy Markdown
Contributor

@rixrix thanks for the PR! Looks good, but could you also remove the ENUM_INDEX imports and calls? That also was only added for dart. In TypeScript, ENUM_INDEX just returns its input value.

If you want to, you could also remove ENUM_INDEX from the lang.ts and lang.dart facades, as it's not being used anywhere else. This should be a separate commit from the other changes, but can still be part of this branch/PR.

@rixrix
Copy link
Copy Markdown
Author

rixrix commented Aug 26, 2015

@jeffbcross thanks for the feedback. I'll work on those stuff you mentioned. cheers

@rixrix
Copy link
Copy Markdown
Author

rixrix commented Aug 27, 2015

Hi, another batch of changes has been pushed. tnx

@jeffbcross
Copy link
Copy Markdown
Contributor

Looks great! Would you mind formatting the ENUM_INDEX commit message, and add a body to the "remove RequestMethodsMap" with a sentence explaining the change, as well as "Closes #2904 " in the body so Github will automatically close the issue when it merges?

Other than that, looks good to merge.

If you're not comfortable rebasing/editing messages, I can go ahead and adjust them (your name would still show up on the commit :)

@rixrix
Copy link
Copy Markdown
Author

rixrix commented Aug 27, 2015

ah my mistake, I'll get those sorted out so I know what to do next time ;) thanks

@rixrix
Copy link
Copy Markdown
Author

rixrix commented Aug 27, 2015

Hi Jeff, I didn't realize I'd shoot off early today and will be away for 2 days - on mobile at the moment. I'd be happy if you could do the commit logs revision for me. thanks

@jeffbcross
Copy link
Copy Markdown
Contributor

No problem!

@jeffbcross
Copy link
Copy Markdown
Contributor

Pushed to presubmit, so it should be merged soon! https://github.com/angular/angular/tree/presubmit-jeffbcross-pr-3843

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(http): convert RequestMethods to const list

3 participants