angular/packages/core
Kristiyan Kostadinov 4623b61448 fix(core): missing useExisting providers throwing for optional calls (#61152)
Fixes that the runtime was throwing a DI error when attempting to inject a missing `useExisting` provider, despite the call being optional.

The problem was that when the provider has `useExisting`, we do a second `inject` call under the hood which didn't include the inject flags from the original call.

Fixes #61121.

PR Close #61152
2025-05-06 14:06:24 -07:00
..
global refactor(docs-infra): use interpolation instead of innerHTML for better perf (#58913) 2024-11-27 10:59:18 +01:00
primitives refactor(core): tree-shake PROPAGATION_STOPPED_SYMBOL (#61004) 2025-04-30 12:38:45 -07:00
rxjs-interop fix(core): call DestroyRef on destroy callback if view is destroyed [patch] (#61061) 2025-04-30 08:52:25 -07:00
schematics fix(core): inject migration: replace param with this. (#60713) 2025-04-10 13:31:31 -04:00
src fix(core): missing useExisting providers throwing for optional calls (#61152) 2025-05-06 14:06:24 -07:00
test fix(core): missing useExisting providers throwing for optional calls (#61152) 2025-05-06 14:06:24 -07:00
testing refactor(platform-browser-dynamic): relocate DOMTestComponentRenderer to @angular/platform-browser (#60453) 2025-03-19 19:08:09 +01:00
BUILD.bazel refactor(core): Move getCurrentInjector/setCurrentInjector to primitives package. (#60090) 2025-02-28 18:47:09 +00:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json build: update zone.js peer dependency for core package to 0.15.0 (#57431) 2024-08-21 13:17:52 -07:00
PACKAGE.md
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00