X Tutup
Skip to content

refactor(http): rename enums to be singular#5584

Closed
cexbrayat wants to merge 1 commit intoangular:masterfrom
cexbrayat:refactor/http-enums
Closed

refactor(http): rename enums to be singular#5584
cexbrayat wants to merge 1 commit intoangular:masterfrom
cexbrayat:refactor/http-enums

Conversation

@cexbrayat
Copy link
Copy Markdown
Member

As seen with @jeffbcross in #5574

ReadyStates -> ReadyState
RequestMethods -> RequestMethod
ResponseTypes -> ResponseType

@jeffbcross
Copy link
Copy Markdown
Contributor

Looks good! Would you mind adding a colon after BREAKING CHANGE in your commit message? I think our changelog script may require it.

ReadyStates -> ReadyState
RequestMethods -> RequestMethod
ResponseTypes -> ResponseType

Fixes angular#5574

BREAKING CHANGE:

Before

import {ReadyStates, RequestMethods, ResponseTypes} from 'angular2/http';

After

import {ReadyState, RequestMethod, ResponseType} from 'angular2/http';
@cexbrayat cexbrayat force-pushed the refactor/http-enums branch from 29885ee to 22d4896 Compare December 4, 2015 08:13
@cexbrayat
Copy link
Copy Markdown
Member Author

OK, it's done!

@jeffbcross jeffbcross added the action: merge The PR is ready for merge by the caretaker label Dec 4, 2015
@jeffbcross jeffbcross assigned jelbourn and unassigned jeffbcross Dec 4, 2015
@jeffbcross
Copy link
Copy Markdown
Contributor

@jelbourn mind merging this? It will be a no-op for sync.

@jeffbcross
Copy link
Copy Markdown
Contributor

Thankx @cexbrayat!

@mary-poppins
Copy link
Copy Markdown

Merging PR #5584 on behalf of @jelbourn to branch presubmit-jelbourn-pr-5584.

@mary-poppins
Copy link
Copy Markdown

Merging PR #5584 on behalf of @jelbourn to branch presubmit-jelbourn-pr-5584.

@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

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

X Tutup