-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow to inject multiple PropertyChangeProvider at the root of app #5
Comments
Nice! It shouldn't be too hard. To use |
See the |
Hi @martinrybak . Thanks for that working sample. It seems not so hard to implement |
Probably not, but I also don't want to go down the slippery slope of duplicating other |
Ok, I understand. So now, it's up to you to release new version of |
Do you think it's a good idea to depend on |
Hi @martinrybak , I'm using Provider + ChangeNotifier + StreamBuilder for my app. But since having your package, I'm considering to change to your lib because it solves some problems as you mentioned. However, from my real projects, MultiProvider is really necessary. It's better if the lib supports MultiProvider. |
IMHO, your |
I don't see an issue with depending on Provider if there is some functionality that provides value or reduces duplication, such as multi-provider. But if that is a major concern why not have a separate package for that? |
What about having
What do you think? |
Here is my workaround to make code shorter when using multiple
|
@rrousselGit Thanks for weighing in! Supporting aspects in |
It's technically feasible to expose the latest aspects changed. But before that, what's the use-case? |
One of the features of |
Is there any update on this to use the PropertyChangeProvider with MultiProvider? |
Note @martinrybak provider v4.0.0 |
So I've gone down the path that everyone here probably has. I was looking at ChangeNotifier and started implementing. Awesome idea and awesome library. As your models grow, you begin to realize that you are updating the whole model with the smallest changes. Then you do some googling and find this awesome library (thank you). But then you run into this blocker because your code is passing in multiple providers (since you like to think seperation of concern and have providers broken down). IMO it is okay to depend on the provider package. Any medium size project will probably use that in some ways. As long as we can contain the import, I think we should be fine. |
The same for me, now i'm blocked because i can't use with MultipleProvider. |
Any updates on this issue as I am also stuck because of not being able to use MultipleProvider? |
I see in provider package, they allow us to inject multiple Provider at the root of app by using MultiProvider to avoid nested Provider, like this:
So, could you also add an equivalent
MultiPropertyChangeProvider
too?The text was updated successfully, but these errors were encountered: