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 | ||
| definition_collector.ts | ||
| import_manager.ts | ||
| index.ts | ||
| providers_evaluator.ts | ||
| transform.ts | ||
| update_recorder.ts | ||