Comments (3)
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.
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.
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)
- Support Builders of interface types.
- Shaded release
- Avoid io.airlift.log.Logger and use slf4j HOT 2
- Multiple @ThriftMethod-annotated methods named HOT 1
- copy docs from thrift IDLs into javadoc
- Is this project still active? HOT 3
- swift2thrift generate thrift IDL.why not have required or optional in fields of structγ HOT 2
- 'FBSDKCoreKit/FBSDKButton.h' file not found
- Stable UnresolvedAddressException on particular method HOT 2
- Make swift generator understand include paths that are relative to the file they're in
- ThriftMethodProcessor : Set default value of paramter even its requiredness is OPTIONAL; HOT 1
- java.lang.IllegalArgumentException: Type can not be coerced to a Thrift type: K HOT 2
- java.lang.NullPointerException: value is null HOT 1
- Problem with closed channel
- Boolean and other wrappers not properly being set to `null` HOT 4
- use swift method to fetch data HOT 1
- How dose AutoCloseable in Swift-Client work HOT 5
- Is this project abandoned? HOT 2
- Any plan for synchronizing the comment to idl?
- Updating netty version 4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift.