Coder Social home page Coder Social logo

Entry points cannot be interfaces about dagger HOT 6 CLOSED

square avatar square commented on July 4, 2024
Entry points cannot be interfaces

from dagger.

Comments (6)

tbroyer avatar tbroyer commented on July 4, 2024

I just hit this bug too while refactoring some code from Guice to Dagger.

Compilation (with dagger-compiler) fails with:

No binding for members/com.example.xxx.Xxx required by com.example.xxx.Application.Module for com.example.xxx.Application.Module

As a workaround, I'll create a class that depends on Providers of my so-called entry points and add it as the single entryPoint.

from dagger.

swankjesse avatar swankjesse commented on July 4, 2024

Eep. I'm embarrassed that we still have this problem.

from dagger.

cgruber avatar cgruber commented on July 4, 2024

Sorry - I have a fix planned, but am in the middle of dealing with some
google internals getting Dagger rolled out in our build system and to
new internal customers, so I'm stretched a little thin. I came upon an
idea as part of some assisted-inject thinking I was doing as to how to
handle interfaces in general, but there are also some simple things we
can do and I cal roll that up post-haste.

from dagger.

tbroyer avatar tbroyer commented on July 4, 2024

Note that I've been using 0.9.1. Would be great to have an 0.9.2 some time soon BTW, be it for #110.

from dagger.

cgruber avatar cgruber commented on July 4, 2024

Agreed.

from dagger.

swankjesse avatar swankjesse commented on July 4, 2024

#222

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.