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

Injectable null safety #172

Closed

Conversation

britannio
Copy link

The first step towards addressing #170 and #147

I'm curious as to why this isn't split into two separate classes?
https://github.com/Milad-Akarie/injectable/blob/master/injectable/lib/src/injectable_annotations.dart#L98-L112

@britannio
Copy link
Author

Migrating injectable_generator requires dart-lang/source_gen#493 and dart-lang/build#2920 (in progress: dart-lang/build#2996)

@Milad-Akarie
Copy link
Owner

Hey @britannio for some reason I didn't get notified about the this pull request. anyways I'm refactoring the code generator to use code_builder library before I put in work in migration as the current code is a bit messy.

@britannio
Copy link
Author

Sounds good!

@Milad-Akarie
Copy link
Owner

@britannio It's already done, Thanks for your efforts.
nullsafety version was just released
https://pub.dev/packages/injectable/versions/1.2.0-nullsafety
https://pub.dev/packages/injectable_generator/versions/1.2.0-nullsafety

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants