mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
|
||
|---|---|---|
| .. | ||
| google3 | ||
| BUILD.bazel | ||
| dynamic_queries_migration_spec.ts | ||
| helpers.ts | ||
| line_mappings_spec.ts | ||
| missing_injectable_migration_spec.ts | ||
| module_with_providers_migration_spec.ts | ||
| move_document_migration_spec.ts | ||
| project_tsconfig_paths_spec.ts | ||
| renderer_to_renderer2_migration_spec.ts | ||
| static_queries_migration_template_spec.ts | ||
| static_queries_migration_usage_spec.ts | ||
| template_var_assignment_migration_spec.ts | ||
| undecorated_classes_with_decorated_fields_migration_spec.ts | ||
| undecorated_classes_with_di_migration_spec.ts | ||