Git Product home page Git Product logo

Comments (3)

dain avatar dain commented on July 28, 2024

That was as an intentional feature, much like guice allows you to inject the same thing multiple times. Is there a case where this causes problems for you?

from swift.

andrewcox avatar andrewcox commented on July 28, 2024

It isnt a big problem, just means the reader is doing a little more work for a field than it has to do. If there are legitimate cases maybe I can make it just a warning we log somewhere.

I've seen where you have inject constructors and also inject setters, but usually for setting up different bits of data. What's an example where you'd need to pass in an a field to the ctor and also call the setter for that field, when reading it in from a message?

On Sep 18, 2013, at 11:18, "Dain Sundstrom" <[email protected]mailto:[email protected]> wrote:

That was as an intentional feature, much like guice allows you to inject the same thing multiple times. Is there a case where this causes problems for you?

β€”
Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v1/url?u=https://github.com/facebook/swift/issues/131%23issuecomment-24686968&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=sJ61cr6u3yYT6%2FsOZjgMEw%3D%3D%0A&m=kUzsJFUMgtEWZUBetTTlfJPn3NPGpDqmoNCB76b6BHU%3D%0A&s=cbb7bdc9166af0c14ccbbf72b5bd8a91c4dcbcfc3dd4f00726e9dd77a33e13e1.

from swift.

 avatar commented on July 28, 2024

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

from swift.

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.