Get built redux to work with nnbd and the latest 8.x line of built_value
8.0.0-nullsafety.0
add tests that generate actions with nullable generics
fixed issue where ++ does not work on builder value
address deprecations in generator
Breaking changes:
The arguments to ActionDispatcher.call are no longer optional. when dispatching an action a payload a value must be provided. if the payload type is nullable null must be explicitly provided. append a ? to the ActionDispatcher type parameter for any actions that can be dispatched with a null payload, e.g. ActionDispatcher<int?>.
Remove previously deprecated test method
This will not pass CI until https://github.com/google/built_value.dart/pull/975 is released.
The current build was built using master of built_value_generator to generate test files correctly. Any consumption of this PR should work, so long as you have no built_values defined in the test directory.
To run builds or tests using nullability use --enable-expirement=non-nullable to the build runner command.
Get built redux to work with nnbd and the latest 8.x line of built_value
8.0.0-nullsafety.0
ActionDispatcher.call
are no longer optional. when dispatching an action a payload a value must be provided. if the payload type is nullable null must be explicitly provided. append a?
to theActionDispatcher
type parameter for any actions that can be dispatched with a null payload, e.g.ActionDispatcher<int?>
.This will not pass CI until https://github.com/google/built_value.dart/pull/975 is released. The current build was built using master of built_value_generator to generate test files correctly. Any consumption of this PR should work, so long as you have no built_values defined in the test directory.
To run builds or tests using nullability use
--enable-expirement=non-nullable
to the build runner command.