Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ***Payload.Type static property #87

Merged
merged 1 commit into from
Feb 20, 2017

Conversation

tetsuharuohzeki
Copy link
Contributor

@@ -5,11 +5,6 @@ import Payload from "./Payload";
export const TYPE = "ALMIN__WILL_EXECUTED_EACH_USECASE__";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@azu we should write the comment like following?

XXX:  This is exported for unit testing.
DO NOT USE THIS in your application.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes please.

- Breaking Change
- Fix almin#86
- To detect the type of `***Payload`, you should use `is***Payload()`.
@tetsuharuohzeki
Copy link
Contributor Author

@azu I updated the patch.

@azu
Copy link
Member

azu commented Feb 20, 2017

LGTM

@azu azu merged commit fca4b2e into almin:master Feb 20, 2017
@azu azu mentioned this pull request Feb 20, 2017
@tetsuharuohzeki tetsuharuohzeki deleted the rm-static-type branch February 20, 2017 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants