Giter VIP home page Giter VIP logo

Comments (5)

sergejsha avatar sergejsha commented on June 22, 2024

This was an explicit design decision. The reason for that is that future versions of TinyBus may use generated code instead of runtime reflection. Keeping methods public will give more flexibility if case of such changes in the future.

from tinybus.

renaudcerrato avatar renaudcerrato commented on June 22, 2024

Make sense. Would be nice to generate a warning though ;)

from tinybus.

sergejsha avatar sergejsha commented on June 22, 2024

You mean when a method is private of protected?

On Mon, Mar 9, 2015 at 4:48 PM, nono240 [email protected] wrote:

Make sense. Would be nice to generate a warning though ;)


Reply to this email directly or view it on GitHub
#31 (comment).

from tinybus.

renaudcerrato avatar renaudcerrato commented on June 22, 2024

Yes, at compile time of course - at least for Android Studio. Dagger raise an error is the field is private.

from tinybus.

sergejsha avatar sergejsha commented on June 22, 2024

Agree. That what I was thinking about. I didn't want to introduce these checks at runtime. But it's a good idea to have them at compile time. Just created a separate TODO for it.

from tinybus.

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.