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: Replace lodash assign with Object.assign for symbol copy #144

Merged
merged 1 commit into from
Aug 7, 2017

Conversation

AntJanus
Copy link
Collaborator

@AntJanus AntJanus commented Aug 3, 2017

Ref: #129 #141

Replacement for original #129 solution. I'm replacing lodash's assign with Object.assign which copies over not only object keys/values but also Symbols.

@AntJanus
Copy link
Collaborator Author

AntJanus commented Aug 3, 2017

@HunterEl can you quickly check out this PR? Just let me know if it makes sense. I tested this locally but since we don't have any ngRedux.spec.js tests, there isn't an easy way to test it other than just using using a console log and using Object.getOwnPropertySymbols.

@AntJanus AntJanus requested a review from HunterEl August 4, 2017 16:04
@HunterEl
Copy link
Collaborator

HunterEl commented Aug 4, 2017

@AntJanus will do!

@HunterEl
Copy link
Collaborator

HunterEl commented Aug 7, 2017

This seems like a very reasonable change. Works for me!

@AntJanus AntJanus merged commit 722a53e into master Aug 7, 2017
@AntJanus AntJanus deleted the bugfix/redux-symbol-copy branch August 7, 2017 15:55
@AntJanus AntJanus added this to the 3.5.0 milestone Aug 7, 2017
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