Giter Club home page Giter Club logo

dagger-subcomponent-builder-example's Introduction

Hi, I’m Eduardo Dobay!

Software Engineer & Musician

πŸ‘¨β€πŸ¦±πŸ³β€πŸŒˆ he/him

  • πŸ’Ό CTO at Vuxx
  • 🧩 Solving challenges with product and software mindsets
  • πŸ€“ Exploring new technologies, understanding software at a deeper level
  • πŸ›οΈ Architecture, Domain-driven design and pragmatism: good design should decrease cost
  • ♻️ Giving back to the community and helping people
  • I’m a musician β€” a pianist 🎹, choir singer πŸŽ™οΈπŸŽ΅, aspiring composer πŸ“œ. I haven’t really organized my YouTube channel
  • Academic background: Physics β€” my master’s thesis (in Portuguese), titled Complexity of decision-making in human agents, and some related code

Tech Stack

  • Back-end: Python, PHP, Go, Node.js + TypeScript
  • PostgreSQL
  • Automation and DevOps: Docker, Ansible, Terraform, Nomad
  • Android / Kotlin, Vue.js

Also interested in: Elixir, Rust, Scala

dagger-subcomponent-builder-example's People

Contributors

edudobay avatar

Watchers

 avatar  avatar  avatar

dagger-subcomponent-builder-example's Issues

A suggestion...

I was really relieved to come across this repo, after banging my head on the broken code in the Dagger Subcomponents documentation page for several hours. Very, very helpful!

I have a suggestion. The point of the example is demonstrating that, given the dependency edge provided by the @Subcomponent.Builder, Dagger can instantiate complex modules. I think the code here could demonstrate that better if, instead of being a trivial module, RequestModule took Data as a parameter.

It is sort of unnecessarily complex but it might be more enlightening, if the code for RequestModule looked like this:

@Module
public class RequestModule {
    private final Data data;

    public RequestModule(Data data) { this.data = data; }

    @Provides
    public RequestHandler providesRequestHandler() {
        return new RequestHandler(data);
    }
}

No other changes necessary. ... and just a thought.

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.