zubairehman / flutter_boilerplate_project

A boilerplate project created in flutter using MobX and Provider.
http://zubairehman.surge.sh/
MIT License
2.26k stars 908 forks source link

Dart Inject vs Injector #92

Closed gc-robotics closed 3 years ago

gc-robotics commented 3 years ago

Google's Inject repo has been archived. It's been in preview for the past 3 years and there is no active support or bug fixing.

Looking at alternatives, I have come across Injector. Any thought on that?

anwarulislam commented 3 years ago

I have updated the project to flutter 2. And updated all the dependencies to the latest version. everything is fine up until now. But, all inject file isn't generating. the same with the old version too. I'm so new that I cannot figure out what's going on in this project.

Hello @gc-robotics, I saw the same thing on google's repo. It should be replaced by a better one. Can you please update all the dependencies to the latest version with solving that issue by replacing inject.dart with the best one?

Then please fork the repository for your account and upload all the updates. It will be a very helpful thought.

zubairehman commented 3 years ago

Hi,

Currently, we have been in a process of migrating inject to flutter 2.0 to make it work with our boilerplate. We will also push a new branch with an alternative DI.

Thanks.

gc-robotics commented 3 years ago

Hi @zubairehman , Could you please share the url to the inject-related work as the Google one has been archived. Could you also share what's the progress status at the moment? Thanks, GC

gc-robotics commented 3 years ago

Hi @zubairehman ,

I have spotted this repo: https://github.com/zubairehman/inject.dart/tree/develop Checked also the original/forked one. It seems that the ugrade to 2 has been completed. Am I wrong? have you tried it?

Thanks.

zubairehman commented 3 years ago

Hi @all,

I have updated the DI library for this boilerplate template, please go through feature/null-safety branch for more details. Feel free to reach out to me if you find any issues.

Note: I will merge the changes into master as soon as I am done testing and implementing other features.

Thanks.