-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use of @Action Decorator in Provider Class #2
Comments
Hi, thanks for the feedback. I like it. We considered an option like this in the beginning of this project. We abandoned it, but I'm not sure about the reasoning anymore to be honest. Nevertheless, please fill free to try to implement this behavior. I would just not reuse |
I have created a pull request (still in progress): #4 . Thy in adavanced for feedback. |
@duffleit Is there a chance to complete the Pull Request soon, im highly interested in the Library and their use in one of my applications :) |
any update? @duffleit |
I'm submitting a...
Expected behavior
I thought about the feature to attach actions on class level, based on the the concept of a so called provider class. This could be designed as follows:
Within the
someAction
-Method the actions of theSomeProviderClass
will be merged to the actions ofStateClass
.What is the motivation / use case for changing the behavior?
This could be an alternative, if the user prefers familiar use of the
@Action
-Decorator. I'm really interested in feedback if it is worth to work on a feature request i would provide.Thx in advance
The text was updated successfully, but these errors were encountered: