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

Fix for Issue 19: Makes actions into a map with action names for keys #20

Merged
merged 4 commits into from
Apr 28, 2017

Conversation

dash-
Copy link
Collaborator

@dash- dash- commented Apr 22, 2017

As this fundamentally changes the exposed interface of dsm, this is a breaking change.

As discussed in #19, it is useful to be able to access the actions the same way we access the action creators using the actionCreatorNames (which I've renamed actionNames). I have implemented this by basically stealing the original methodology that built the action creators map and now use it to build the actions. This in turn required changing the way the action creators map is built, but only trivially.

I have updated the tests and README to reflect the change of the actions data structure.

@ericelliott ericelliott merged commit 74e1d79 into ericelliott:master Apr 28, 2017
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.

2 participants