Repository navigation
Conversation
6f718e1 to
2daf941
Compare
|
You can preview 2daf941 at https://pr41580-2daf941.ngbuilds.io/. |
|
To be honest, I am not convinced this is a valuable change. |
|
IMO it's worth having, because it's a safe change that will allow us to avoid having to adjust 20+ places if we have to make a change similar to #37958. |
|
Renamed to |
8065be8 to
7fcc8b9
Compare
|
You can preview 7fcc8b9 at https://pr41580-7fcc8b9.ngbuilds.io/. |
7fcc8b9 to
56d8661
Compare
|
You can preview 56d8661 at https://pr41580-56d8661.ngbuilds.io/. |
Currently we have a lot of places where we repeat the type `Type<T>|AbstractType<T>|InjectionToken<T>` which makes it cumbersome to add another type or to type something else with the same signature. These changes add a new type that can be used instead. Fixes angular#39792.
56d8661 to
38d7c4d
Compare
|
You can preview 38d7c4d at https://pr41580-38d7c4d.ngbuilds.io/. |
|
You can preview 2daf941 at https://pr41580-2daf941.ngbuilds.io/. |
AndrewKushnir
left a comment
There was a problem hiding this comment.
LGTM 👍
I feel like we may need to expand docs on the ProviderToken symbol (for ex. to describe its practical use for developers), but we can do that as a followup (may be create a ticket on that?).
petebacondarwin
left a comment
There was a problem hiding this comment.
Reviewed-for: public-api
jelbourn
left a comment
There was a problem hiding this comment.
LGTM
Reviewed-for: public-api
|
@crisbeto FYI the current target label is "target: minor", so the change will land only in master (which targets first minor after v12, i.e. v12.1.0). I guess we may want to include that into v12 too? (note to caretaker: this comment is not a merge-blocker, we can merge it with the current set of labels and create a followup PR if needed) |
|
Not sure why it was targeting |
|
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. |
Currently we have a lot of places where we repeat the type
Type<T>|AbstractType<T>|InjectionToken<T>which makes it cumbersome to add another type or to type something else with the same signature.These changes add a new type that can be used instead.
Fixes #39792.