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

I have this error: ``` Bad state: GetIt: Object/factory with type IDefaultCoversRepository is not registered inside GetIt. (Did you accidentally do GetIt sl=GetIt.instance(); instead of GetIt sl=GetIt.instance; Did you forget...

no-issue-activity

I've read the documentation few times already and so far I understand is that I can use injectable for anything which is is "lib" folder, or any other folder if...

no-issue-activity

Recently, I updated the Injectable library to the latest version. After this update, I encountered an issue with using multiple environments, which was possible in the older version (**1.5.3**). To...

no-issue-activity

I have a class like this and its implementation like this: ``` abstract class LoggingService { final String className; LoggingService({required this.className}); void log( String message, { LogLevel level = LogLevel.info,...

no-issue-activity

Hey there! First kudos for the excellent work! I've been loving this library! I have one question regarding using side effects on setup. I'm trying to setup local environment with...

no-issue-activity

Closes #412 umbrella issue that will cover circular dependency case. Output is like that: For now I find the first loop which might be long one. Maybe it would be...

no-pr-activity

We have multiple issues closed and not resolved regarding the circular dependencies. I think it would significantly help to print more extended information when StackOverflow error occurs in case of...

no-issue-activity

Let's assume I have an interface `ILogger` and this implementation: ```dart final class Logger implements ILogger { const Logger(); void print(String message) { // From dart:dev: log(message, name: T.toString()); }...

no-issue-activity

![image](https://github.com/Milad-Akarie/injectable/assets/14942080/05a213c8-dd4c-4e7d-82b1-afb70d765945) When i'm using name `FirebaseCrashlyticsLoggerModule` for the module everything works fine. When i rename it to `CrashlyticsLoggerModule` dependency injection fails in the runtime with message ``` [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception:...

no-issue-activity

This is my flutter doctor I am using: - get_it: ^7.2.0 - injectable: ^2.1.2 - injectable_generator: ^2.1.6 - build_runner: ^2.3.3 I've designed an abstract class that serves as a repository...

no-issue-activity