ansman / auto-dagger Goto Github PK
View Code? Open in Web Editor NEWAutomatic Dagger setup using Hilt
Home Page: https://auto-dagger.ansman.se
License: Apache License 2.0
Automatic Dagger setup using Hilt
Home Page: https://auto-dagger.ansman.se
License: Apache License 2.0
I think that it would be amazing if this library (perhaps via non-core additional modules) could support autobinding various, well known libraries commonly used.
I had two in mind specifically here:
Retrofit: i currently have to always remember to create a binding for the retrofit routes i create and I always forget. Having an annotation that can be added to the retrofit interface itself would save a lot of duplication
Sqldelight: I ALWAYS forget to add new XXXQueries classes that are created when i create a new table, to the dependency graph. Having a tool autobind all the existing Queries classes would save so much effort
Dagger just released initial KSP support (https://github.com/google/dagger/releases/tag/dagger-2.48). Unfortunately, upstream processors also need to be KSP compliant.
I had an out of order compile that resulted in a missing binding when adding an @AutoInitialize
dependency. Poked around hilt docs and saw @GeneratesRootInput
on https://dagger.dev/hilt/creating-extensions
Seems like its something that would help hilt if this was added to the following annotations:
@AutoBind*
@AutoInitialize
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.