injectable icon indicating copy to clipboard operation
injectable copied to clipboard

Code Generator for get_it

Results 121 injectable issues
Sort by recently updated
recently updated
newest added

If my project has next structure: my_project - lib - packages - repositories - services - models - etc Relationship is: `my_project` depends on `Repositories` and `models`. `repositories` depend on...

Hello 👋 in @module I have custom Dio client which is returns Future, ``` @preResolve Future get dio => CustomDioClient.createDio(); ``` and ApiClient which needs to have Dio instance like...

I just spent some hours debugging my app because I annotated my initializer function with `@factoryParam` instead of `@factoryMethod`. Could a warning be printed to the console when an annotation...

I have documented the issue in my [stackoverflow](https://stackoverflow.com/questions/65193732/is-there-a-way-to-pass-factory-params) question. I think, there should be the way to pass factory parameters.

I'm having an issue while using the Injectable package for Flutter: https://pub.dev/packages/injectable I'm getting an error telling me that I don't have a factory registered, but I'm trying to get...

Good afternoon! I get the following warning when importing a file containing exports of other dependencies: ``` Missing dependencies in superapp/injection.dart [SessionService] depends on unregistered type [SessionServiceClient] from package:superapp/core/network/infrastructure/superapp/chat/v2/session.index.dart ```...

At the launch of my app, I get the following error : _AssertionError ('package:get_it/get_it_impl.dart': Failed assertion: line 274 pos 7: 'type != null || const Object() is! T': GetIt: The...

The generated initialization function is now generating with "get" as the GetIt parameter's name instead of "getIt". `GetIt $initGetIt( GetIt get, { String environment, EnvironmentFilter environmentFilter, }) { ... }`...

Hello! I'm using the [kt_dart](https://pub.dev/packages/kt_dart) package and the generated code contains a named import ```dart import 'package:kt_dart/kt.dart' as kt_dart; ``` This would be fine, however, classes from the kt_dart library...

# before: ```dart GetIt $initGetIt( GetIt get, { String environment, EnvironmentFilter environmentFilter, }) { final gh = GetItHelper(get, environment, environmentFilter); ... ``` # after ```dart GetIt $initGetIt( GetIt get, {...