angular-docs-cn/goldens/size-tracking
Andrew Kushnir 3735633bb0 fix(core): take @Host into account while processing `useFactory` arguments (#40122)
DI providers can be defined via `useFactory` function, which may have arguments configured via `deps` array.
The `deps` array may contain DI flags represented by DI decorators (such as `@Self`, `@SkipSelf`, etc). Prior to this
commit, having the `@Host` decorator in `deps` array resulted in runtime error in Ivy. The problem was that the `@Host`
decorator was not taken into account while `useFactory` argument list was constructed, the `@Host` decorator was
treated as a token that should be looked up.

This commit updates the logic which prepares `useFactory` arguments to recognize the `@Host` decorator.

PR Close #40122
2021-01-05 10:14:25 -08:00
..
aio-payloads.json fix(core): Support extending differs from root `NgModule` (#39981) 2020-12-07 09:51:27 -08:00
integration-payloads.json fix(core): take @Host into account while processing `useFactory` arguments (#40122) 2021-01-05 10:14:25 -08:00