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
2.0.0 nullsafety #7
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 6 +1
Lines 32 36 +4
=========================================
+ Hits 32 36 +4
Continue to review full report at Codecov.
|
… is same / before current time.
Codecov Report
@@ Coverage Diff @@
## master #7 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 6 +1
Lines 32 36 +4
=========================================
+ Hits 32 36 +4
Continue to review full report at Codecov.
|
[2.0.0-nullsafety.9] - 25 March 2021
CornerstoneSnapshot
age should always be positive if timestamp is same / before current time.[2.0.0-nullsafety.8] - 24 March 2021
LocallyPersistentRepositoryMixin
load
is now accept a nullableObject
as param. This to make it possible for adding parameter when loading locally. (Need to be overridden manually)[2.0.0-nullsafety.7] - 8 March 2021
Failure
inCornerstonePersistentRepositoryMixin
becomesFailure<Object>
.[2.0.0-nullsafety.6] - 8 March 2021
UseCase
's call param now is correctly marked asrequired
.[2.0.0-nullsafety.5] - 8 March 2021
ConvertCornerstoneExceptionToFailure
, a common implementation ofConvertToFailure
.[2.0.0-nullsafety.4] - 8 March 2021
ConvertToFailure
's call is now acceptsObject
instead of dynamic. The return is also changed fromFailure<dynamic>
toFailure<Object>
. This change have 2 goals: To further enforce null-safety and because logically, it makes no sense to callConvertToFailure
with null parameter.[2.0.0-nullsafety.3] - 6 March 2021
required
can still have its implementation accept default value instead of required. On the other hand, a non required param cannot be implemented with required. Therefore, for flexibility, all abstract classes' named parameters are now required. See example's people_data_source for more info.[2.0.0-nullsafety.2] - 5 March 2021
[2.0.0-nullsafety.1] - 4 March 2021