get_it_injector_gen 0.4.0 copy "get_it_injector_gen: ^0.4.0" to clipboard
get_it_injector_gen: ^0.4.0 copied to clipboard

Automate class registration for dependency injection using `get_it`, Simplify and manage dependencies effortlessly in Dart projects.

0.4.0 | 9.27.2024 #

Fixes #

  • Remove null assertions from code
    • If an import was not found, the builder would throw an exception with poor error messaging
    • Now, the builder will throw an exception with a more descriptive error message

0.3.1 | 7.11.2024 #

Fixes #

  • When a dart package was added as an import, the name space would be malformed
    • e.g. dart:core would be i_dart:core which is a syntax error

0.3.0 | 6.21.2024 #

Breaking Changes #

  • Force import string to not be null
    • This is a breaking change because an exception will be thrown if the import string is null

0.2.1 | 6.7.2024 #

Enhancements #

  • Register classes alphabetically and then by priority

0.2.0 | 6.5.2024 #

Enhancements #

  • Sort imports alphabetically

0.1.1 | 4.10.2024 #

Enhancements #

  • Change import name from an index i0 to the name of the file i_repo
    • Improves readability and merge conflicts

0.1.0+1 | 3.25.2024 #

Initial Release

0
likes
150
pub points
54%
popularity

Publisher

verified publishermrgnhnt.com

Automate class registration for dependency injection using `get_it`, Simplify and manage dependencies effortlessly in Dart projects.

Repository (GitHub)
View/report issues
Contributing

Topics

#dependency-injection #get-it #di #code-generation

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, change_case, code_builder, dart_style, equatable, get_it_injector, glob, json_annotation, meta, path, source_gen, source_span

More

Packages that depend on get_it_injector_gen