Comments (21)
Yes - we have not released google/dagger as until the 2.0 product, which is
not quite ready for an initial release, our version and square/dagger were
largely identical with very minor internal differences.
We likely will not release com.google.dagger:dagger until we release 2.0
though I hope to start producing snapshots to try out next week.
On 3 September 2014 19:44, Daichi Furiya (Wasabeef) <
[email protected]> wrote:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.google.dagger%22%20a%3A%22dagger%22
https://bintray.com/bintray/jcenter/com.google.dagger%3dagger/view
—
Reply to this email directly or view it on GitHub
#36.
from dagger.
thanks
from dagger.
any update? Will a SNAPSHOT be available before 2.0 release?
from dagger.
Any update ;-)? I simply can't wait!
from dagger.
Heh. Snapshot this week.
On Mon, Oct 6, 2014, 23:02 Radek Piekarz [email protected] wrote:
Any update ;-)? I simply can't wait!
—
Reply to this email directly or view it on GitHub
#36 (comment).
from dagger.
Hm, I still can't find it in Maven Central - where do I go to download it?
from dagger.
@stephanos There aren't any snapshot in Central. Dagger is deployed to Sonatype OSSRH: https://oss.sonatype.org/content/repositories/snapshots/
from dagger.
@tbroyer Fantastic. Thanks!
Can you assess how mature it is already?
from dagger.
The Dagger 2 implementation should be stable, but the API is still subject to change (though likely in very straightforward ways).
from dagger.
@gk5885 That's great to hear! We want to replace Guice with Dagger as soon as possible.
from dagger.
Oh, but I should note that certain errors are not in place. Scope misuse and the like will not generate the appropriate errors. So, a bit of buy beware there.
from dagger.
We'll take it for a test spin soon and report back :)
from dagger.
Update in the next day or so BTW.
On Mon, Oct 27, 2014, 12:33 Stephan Behnke [email protected] wrote:
We'll take it for a test spin soon and report back :)
—
Reply to this email directly or view it on GitHub
#36 (comment).
from dagger.
@cgruber @gk5885 If I see correctly google.dagger 2.0 still requires to specify the 'inject' property of the @module. Is there ANY way we wouldn't have to write all of those by hand (my related SO question)? We'd need hundreds ...
PS: Sorry for discussing this hear but my post to the dagger mailing list from 3+ days ago was not 'accepted' yet.
from dagger.
I think that there's a bit of confusion about Dagger 2. The only
property on @module that d2 pays any attention to is includes. From the
looks of your stack overflow question, you are still trying to use
ObjectGraph with dagger 2, but that is a strictly d1 API. D2 replaces the
ObjectGraph with @component and component interfaces.
On Wed Oct 29 2014 at 6:38:03 AM Stephan Behnke [email protected]
wrote:
@cgruber https://github.com/cgruber @gk5885 https://github.com/gk5885
If I see correctly google.dagger 2.0 still requires to specify the 'inject'
property of the @module https://github.com/Module. Is there ANY way we
wouldn't have to write all of those by hand (my related SO question
http://stackoverflow.com/questions/26610072/how-to-integrate-wicket-and-dagger)?
We'd need hundreds ...PS: Sorry for discussing this hear but my post to the dagger mailing list
from 3+ days ago was not 'accepted' yet.—
Reply to this email directly or view it on GitHub
#36 (comment).
from dagger.
Oh. Is there any documentation, tutorial or example I can look at to get a grasp on Dagger 2?
(the examples in this repository don't seem to use @component)
from dagger.
They will after this PR is merged.
from dagger.
After looking at the examples I'm quite not sure how I would integrate Dagger with something like Wicket and Jersey. Both allow to inject components when a new page/resource is created. With Guice for example you simply call getInstance(object.getClass())
. Dagger 2 does not have a central graph/injector anymore.
Do you have an idea how to integrate this dynamic nature of Jersey/Wicket with the static nature of Dagger 2?
from dagger.
@stephanos I was wondering too, but I'd say it's out of scope for Dagger. I was thinking one could use another annotation processor on the @Component
annotation to produce a “service locator” (similar to Dagger 1's ObjectGraph
) that dispatches to the appropriate method of the component.
from dagger.
*> but I'd say it's out of scope for Dagger. *
I hope not because as I see it that would really limit Daggers use with
server side frameworks like Jersey (and Dagger 1 wasn't limited that way).
So I too am hoping for a positive answer on this question.
Cheers, Rob.
On 31 October 2014 01:26, Thomas Broyer [email protected] wrote:
@stephanos https://github.com/stephanos I was wondering too, but I'd
say it's out of scope for Dagger. I was thinking one could use another
annotation processor on the @component annotation to produce a “service
locator” (similar to Dagger 1's ObjectGraph) that dispatches to the
appropriate method of the component.—
Reply to this email directly or view it on GitHub
#36 (comment).
from dagger.
@stephanos FYI, here's a proof of concept bringing the ObjectGraph
API to Dagger 2: https://github.com/tbroyer/bullet
from dagger.
Related Issues (20)
- Optional bindings in a parent component can sometimes use bindings from child components HOT 2
- NullPointerException dagger.spi.shaded.androidx.room.compiler.processing.XTypeElement.getAnnotation HOT 9
- Problem with Injection of DAO HOT 1
- error: [Hilt] Could not get element for com.foo.viewModels.FooViewModel_HiltModules.BindsModule: java.lang.NullPointerException HOT 1
- Missing release notes for 2.51 HOT 1
- `LazyClassKey` doesn't work when providing a `Map<Class<*>, Provider<?>` with a scope
- @AssistedInject in ViewModel using Dagger (NOT Hilt, just dagger) does not compile: cannot be provided without an @Inject constructor or an @Provides-annotated method HOT 6
- [issue] Dagger doesn't compile or doesn't give a right error message when ViewModelFactory is implemened on Kotlin rather than on Java HOT 4
- Having an issue with Dagger Hilt Proguard Rules HOT 12
- Following dagger.dev tutorial doesnt create singleton in v2.51 HOT 2
- Multibinding with Nested Complex Keys uses the wrong AnnotationCreator HOT 1
- [Hilt] onCreate() in my Application doesn't called on Instrument test HOT 4
- [Dagger-Hilt] Error when applying obfuscation other than Proguard (Allatori) HOT 3
- error: [Hilt] Expected @AndroidEntryPoint to have a value HOT 3
- @IntoSet analog for injectable classes HOT 3
- Hilt Generated Code having not used code? HOT 2
- [Dagger-Hilt] Can't get viewModel in composable by Hilt HOT 1
- Why does Provides in a Companion Object work? HOT 6
- Update Dagger guava dependency to address CVE-2023-2976 HOT 2
- Add KMP support for @HiltViewModel annotation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagger.