Open starlight173 opened 1 year ago
After upgrade to Flutter 3.10, I excuted the build runner to process:
flutter pub run build_runner build --delete-conflicting-outputs
Output:
Invalid argument(s): Required input cycle for [{autoApply: AutoApply.dependents, import: package:smartstruct_generator/integrations/builder.dart, builderFactories: [smartstructBuilder], buildExtensions: {.dart: [mapper.g.dart]}, requiredInputs: [.g.dart], runsBefore: [injectable_generator:injectable_builder], isOptional: false, buildTo: BuildTo.source, defaults: Instance of 'TargetBuilderConfigDefaults'}]
I believe this issue caused by the new build_runner updated:
build_runner
How can I fix it ? Thanks
After upgrade to Flutter 3.10, I excuted the build runner to process:
flutter pub run build_runner build --delete-conflicting-outputs
Output:
Invalid argument(s): Required input cycle for [{autoApply: AutoApply.dependents, import: package:smartstruct_generator/integrations/builder.dart, builderFactories: [smartstructBuilder], buildExtensions: {.dart: [mapper.g.dart]}, requiredInputs: [.g.dart], runsBefore: [injectable_generator:injectable_builder], isOptional: false, buildTo: BuildTo.source, defaults: Instance of 'TargetBuilderConfigDefaults'}]
I believe this issue caused by the new
build_runner
updated:How can I fix it ? Thanks