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

edits to two-mappers pipeline and removed of redundant defaultTask #67

Merged
merged 2 commits into from
Jul 20, 2017

Conversation

tiagofilipe12
Copy link
Member

In this PR I made some changes to two-mappers example pipelines in order to avoid the usage of shell pipe, since for reproducibility isolating tasks would be better.
Also, defaultTask state was removed from lib/reducers/task.js since it is duplicated in lib/constants/default-task-state.js and was replaced by an import from the latter.

Copy link
Member

@thejmazz thejmazz left a comment

Choose a reason for hiding this comment

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

lgtm. I think we should move reducer state defaults to be with the reducer as per Ducks style, but for now this is good to remove code duplication and other reorganization can happen after. I think the reason I moved it to another file was b/c some keys are more objects with their own default. (which even maybe, could be their own reducer..)

@thejmazz thejmazz merged commit d9813d2 into dev Jul 20, 2017
@bmpvieira bmpvieira deleted the viz branch July 20, 2017 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants