angular-docs-cn/packages/compiler-cli/test
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
..
diagnostics fix(common): weaken AsyncPipe transform signature (#22169) 2018-02-12 15:57:29 -08:00
metadata fix(compiler-cli): do not fold errors past calls in the collector (#21708) 2018-01-23 13:33:25 -08:00
transformers feat(compiler-cli): reflect static methods added to classes in metadata (#21926) 2018-02-01 08:30:58 -08:00
extract_i18n_spec.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04:00
mocks.ts feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
ngc_spec.ts fix(core): require factory to be provided for shakeable InjectionToken (#22207) 2018-02-15 16:16:16 -08:00
ngtools_api_spec.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
perform_watch_spec.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
test_support.ts fix(compiler): generate the correct imports for summary type-check 2017-12-15 07:53:11 -08:00