Skip to main content

diana_generator 0.15.0 copy "diana_generator: ^0.15.0" to clipboard
diana_generator: ^0.15.0 copied to clipboard

Code generator for the Diana backend framework. Resolves the dependency injection graph at build time and emits the application composition root.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add diana_generator

With Flutter:

 $ flutter pub add diana_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  diana_generator: ^0.15.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:diana_generator/builder.dart';
0
likes
140
points
153
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Code generator for the Diana backend framework. Resolves the dependency injection graph at build time and emits the application composition root.

Repository (GitHub)
View/report issues

Topics

#codegen #build-runner #dependency-injection

License

MIT (license)

Dependencies

analyzer, build, code_builder, collection, dart_style, diana_annotation, glob, path, source_gen

More

Packages that depend on diana_generator