composable_architecture_generator 0.2.1
composable_architecture_generator: ^0.2.1 copied to clipboard
Code generator for the Composable Architecture in Dart. Generates Lens, ActionLens, Prism, and utility extensions from @tcaState, @tcaAction, and @tcaRoute annotations.
0.2.0 #
- Breaking: Removed dependency on
composable_architecture_annotation— all annotations (@tcaState,@tcaAction,@tcaRoute) are now provided bycomposable_architecture_core. - Breaking: Removed hard dependency on
dart_mappable— the generator no longer requires@MappableClass()on state or action classes. - Added
generateUtilsparameter to@TCAActionannotation (defaults tofalse). Can be enabled per-class or globally viabuild.yamloptions. Resolution order: local annotation > global option > default (false). @tcaActionnow supports both freezed and dart_mappable sealed classes:- With
@MappableClass(): generates concrete subclasses automatically. - With
@freezedor plain sealed classes: uses existing declared subclasses.
- With
@tcaRoutenow uses theTCARouteannotation from core (replacesRoutefrom the old annotation package).- Removed
runs_before: dart_mappable_builderconstraint frombuild.yaml.
0.1.0 #
- First version of
composable_architecture_generator.