angular-cn/packages/compiler-cli/integrationtest/bazel/injectable_def/app
Alex Rickabaugh f755db78dc fix(core): require factory to be provided for shakeable InjectionToken (#22207)
InjectionToken can be created with an ngInjectableDef, and previously
this allowed the full expressiveness of @Injectable. However, this
requires a runtime reflection system in order to generate factories
from expressed provider declarations.

Instead, this change requires scoped InjectionTokens to provide the
factory directly (likely using inject() for the arguments), bypassing
the need for a reflection system.

Fixes #22205

PR Close #22207
2018-02-15 16:16:16 -08:00
..
src fix(core): require factory to be provided for shakeable InjectionToken (#22207) 2018-02-15 16:16:16 -08:00
test feat: allow direct scoping of @Injectables to the root injector (#22185) 2018-02-15 14:20:27 -08:00
BUILD.bazel feat: allow direct scoping of @Injectables to the root injector (#22185) 2018-02-15 14:20:27 -08:00