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
|
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| dynamic_queries_spec.ts | ||
| explicit_query_timing_rule_spec.ts | ||
| missing_injectable_rule_spec.ts | ||
| no_template_variable_assignment_rule_spec.ts | ||
| renderer_to_renderer2_spec.ts | ||
| undecorated_classes_with_decorated_fields_spec.ts | ||