angular-cn/packages/core/schematics/test
Paul Gschwendtner 15fefdbb8d feat(core): missing-injectable migration should migrate empty object literal providers (#33709)
In View Engine, providers which neither used `useValue`, `useClass`,
`useFactory` or `useExisting`, were interpreted differently.

e.g.

```
{provide: X} -> {provide: X, useValue: undefined}, // this is how it works in View Engine
{provide: X} -> {provide: X, useClass: X}, // this is how it works in Ivy
```

The missing-injectable migration should migrate such providers to the
explicit `useValue` provider. This ensures that there is no unexpected
behavioral change when updating to v9.

PR Close #33709
2019-11-18 15:47:20 -08:00
..
google3 feat(core): missing-injectable migration should migrate empty object literal providers (#33709) 2019-11-18 15:47:20 -08:00
BUILD.bazel fix(core): remove ngcc postinstall migration (#33727) 2019-11-12 14:03:48 -08:00
dynamic_queries_migration_spec.ts refactor: re-enable dynamic queries migration (#32992) 2019-10-04 13:54:09 -07:00
helpers.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
line_mappings_spec.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
missing_injectable_migration_spec.ts feat(core): missing-injectable migration should migrate empty object literal providers (#33709) 2019-11-18 15:47:20 -08:00
module_with_providers_migration_spec.ts feat(core): add ModuleWithProviders generic type migration (#33217) 2019-10-21 15:53:28 -04:00
move_document_migration_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
project_tsconfig_paths_spec.ts refactor(core): migrations should parse cli workspace config as json5 (#30582) 2019-05-21 17:26:22 -07:00
renderer_to_renderer2_migration_spec.ts fix(core): renderer-to-renderer2 migration not migrating methods (#33571) 2019-11-05 22:05:17 +00:00
static_queries_migration_template_spec.ts refactor(core): static-queries migration should never use ngtsc (#32954) 2019-10-02 14:53:41 -07:00
static_queries_migration_usage_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
template_var_assignment_migration_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
undecorated_classes_with_decorated_fields_migration_spec.ts test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
undecorated_classes_with_di_migration_spec.ts fix(core): undecorated-classes-with-di migration should report config errors (#33567) 2019-11-05 21:06:47 +00:00