Giter Club home page Giter Club logo

Comments (7)

 avatar commented on June 9, 2024

ahh.. maybe we can rename to DNSProvider :)

Anyway, that's a good idea, trying ObjectGraph.plus() will try it.

On Sat, Mar 2, 2013 at 9:00 AM, Jesse Wilson [email protected]:

This is difficult to grok 'cause your Provider is different than
JSR-330's Providerhttps://code.google.com/p/atinject/source/browse/trunk/src/javax/inject/Provider.java
.

One thing you could experiment with is ObjectGraph.plus(). Perhaps you
could build your application in two phases: build a small inner object
graph with everything you need during bootstrap, then build upon that to
create a more complete object graph.


Reply to this email directly or view it on GitHubhttps://github.com//issues/176#issuecomment-14331216
.

from dagger.

cgruber avatar cgruber commented on June 9, 2024

The one thought I did have that's worth making is that I generally think
it's not the best idea to turn objects used in the graph into @ Modules
as well. That is entirely feasible because of the annotative-nature of
dagger's configuration, but I think it conflates objects - makes objects
have multiple purposes that can really lead to confusion. So.. not
forbidden, but certainly not my personal recommendation. (If I"m reading
your description right).

On 2 Mar 2013, at 8:27, Adrian Cole wrote:

This is probably more a usage question than an issue.

from dagger.

JakeWharton avatar JakeWharton commented on June 9, 2024

Just a heads-up @adriancole, as you may have seen with #196 fixing #188 we now explicitly are disallowing inheritance in modules.

from dagger.

codefromthecrypt avatar codefromthecrypt commented on June 9, 2024

Thanks for the heads up!

from dagger.

JakeWharton avatar JakeWharton commented on June 9, 2024

Removing wont fix it since you are already subscribed to this issue. You can change your subscription preference by using the drop down at the bottom of the page. As you alluded, you were auto-subscribed when he didn't fence your name with backticks. It's hard to remember to do this 100% of the time.

from dagger.

modules avatar modules commented on June 9, 2024

@JakeWharton thanks

from dagger.

JakeWharton avatar JakeWharton commented on June 9, 2024

Closing this. It isn't really an issue but more of a discussion around best practices. The mailing list is a great place for this and probably will reach more users.

from dagger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.