refactor(core): tree-shake application_module providers#23477
Conversation
04dc1ff to
d075a70
Compare
There was a problem hiding this comment.
@mhevery this is unexpected. This should've been retained as before.
There was a problem hiding this comment.
_Factory? why not ApplicationRefFactory?
There was a problem hiding this comment.
I spoke with misko and we agreed that this convention was ok because that's what the compiler generates, but we were not sure why you are using ngInjectableDef at all.
There was a problem hiding this comment.
is this right? why do we need this here? maybe explain in a comment?
There was a problem hiding this comment.
I'm not keen on exposing these static properties. Is this the only way to do this?
the issue is that ngInjectableDef is not a public api, but people will start depending on it if they see us use it in this way.
// @mhevery
There was a problem hiding this comment.
Casting Inector to any does not seem right.
There was a problem hiding this comment.
File a bug inject(Injector as any), and reference it here.
There was a problem hiding this comment.
Why are you using defineInjectable rather than @Injectable decorator?
There was a problem hiding this comment.
you should not have both @Injectable and defineinjectable one or the other.
838cf7a to
e85e1fe
Compare
|
@matsko CI is failing because of legit docs issue - please fix it. |
e85e1fe to
8ee8d88
Compare
8ee8d88 to
822531c
Compare
|
You can preview 822531c at https://pr23477-822531c.ngbuilds.io/. |
822531c to
f145989
Compare
|
You can preview f145989 at https://pr23477-f145989.ngbuilds.io/. |
1�7)" This reverts commit eb031c6. The change is breaking targets in g3 see cl/194336387.
|
I had to revert this one because it breaks internal apps. see cl/194336387 + the rollback cl for more info |
|
You can preview f145989 at https://pr23477-f145989.ngbuilds.io/. |
1�7)" This reverts commit ac2b530. The change is breaking targets in g3 see cl/194336387.
f145989 to
d4b6c41
Compare
|
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. |


No description provided.