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

Greetings, @Milad-Akarie! I just discovered injectable. Love it, but I can't use environments. If I remove environments, everything works fine. I have tried to get it to work for the...

no-issue-activity

I can't use the package [`i18n`](https://pub.dev/packages/i18n) with `injectable`. The `Messages` are generated correctly, but not the `MessagesModule`. I'm receiving the error `InvalidType is not a class element`. Any idea how...

no-issue-activity

After upgrading to the latest version `2.4.1`, I'm getting the following warning in one of the examples used in the documentation: `The annotation 'preResolve' can only be used on methods`...

Hi there! We have a package structure like: ``` (micropackage) (micropackages) (micropackages) main app -> bootstrap |-> data -> data_feature1 |-> domain -> domain_feature1 |-> ... | | | ---------------------------------...

i tried to upgrade both the injectable and injectable_generator, but this issue arised. after upgrade: `injectable 2.4.0` `injectable_generator 2.6.1` `flutter 3.16.1` error: `Note: meta is pinned to version 1.11.0 by...

I am trying to register my scope first before calling `$register` and passing my custom `EnvironmentFilter`. But my dependencies annotated with my custom `Environment` are not registered. ```dart @InjectableInit( initializerName:...

I've got this : ``` @Named("test") @LazySingleton(env: ["development"]) List provideDevelopmentInterceptors( @Named(NamedInjections.sharedInterceptors) List shared, MockInterceptor mockInterceptor, ) { return [ ...shared, mockInterceptor, ]; } @Named("test") @LazySingleton(env: ["production"]) List providerProductionInterceptors( @Named(NamedInjections.sharedInterceptors) List...

no-issue-activity

After upgrading to a newer version, I noticed that the `externalPackageModules` parameter is missing from the `@InjectableInit` annotation. Currently, we are only provided with `externalPackageModulesBefore` and `externalPackageModulesAfter`. However, it appears...

Singleton(dependsOn: [SomeType]) does not effect get_it ordering