-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allowing ability to observe partial state. #7
Conversation
ReduxSimple/ReduxStore.cs
Outdated
public IObservable<object> ObserveAction() | ||
{ | ||
return _actionSubject.AsObservable(); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overloaded methods (with the same name) should be close to one another. The same should be applied for ObserveState
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
@mhusainisurge Ey. Thanks for your first time contribution! I really enjoy seeing someone with interest on this project. Your code looks good. Will need to update the docs in consequence, it is no a subject on this PR so I don't force you with it. Anyway, if you make the changes on the line return on the file, I'll consider this PR OK and merged it right after. On the meantime, will figure out why appveyor builds are failing.. |
Ok, fixed. Build is now working like expected. |
Thanks for considering my PR. I have implemented the changes requested. Looking forward to more contributions! |
This is to implement enhancement #4. I generalized it a bit to allow using any arbitrary selector on the state. This is the my first contribution on Github, so I hope I got everything right. 😃