-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Release a null-safe pre-release of bloc_test #2063
Comments
Hi @felix-barz-brickmakers 👋 I'm more or less ready to do so but my hesitation has been due to the breaking changes in mockito's API due to null safety (which bloc_test relies on). I have been experimenting with a different approach to mocks which would avoid relying on manual overrides and code generation that would allow I would love to hear everyone's feedback before proceeding either way, thanks! 🙏 |
Both variants have valid points. I might even prefer the second approach, as it seems that the mockito guys haven't really found a nice solution for the core problem yet. I have also hade quite some problems with the generated mocks. But one idea for mocktail: Instead of passing a string to the |
@felix-barz-brickmakers I took your suggestion and refactored mocktail to use |
v8.0.0-nullsafety.0 is now available 🎉 |
bloc and flutter_bloc have already been released with a nullsafe version as prerelease. Please create such a prerelease for bloc_test as well, so we can actually upgrade flutter_bloc or bloc and try out nullsafety.
The text was updated successfully, but these errors were encountered: