Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport named optional parameters in @Injectable ctors #7344
Comments
|
+1, I agree, es6/Typescript already handle optional parameters why add a new annotation to do something similar yet not as good and that breaks the existing functionality? I wonder why is it breaking , does Angular DI call the constructor with a |
|
Is there any reason for closing this? |
|
@langley-agm because Dart issues are now maintained in dart-lang/angular2 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Right now, named optional parameters do not work in
@Injectablectors, but maybe they should.@Optional?