angular/packages/core/src
Kristiyan Kostadinov 583b9a7be5 fix(core): missing useExisting providers throwing for optional calls (#61137)
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 #61137
2025-05-06 09:12:38 -07:00
..
application refactor(core): Improve NG0600 error message. (#60418) 2025-04-22 16:35:38 +02:00
authoring docs(docs-infra): Add version of introduction for APIs (#60814) 2025-05-02 07:51:33 -07:00
change_detection docs(docs-infra): Add version of introduction for APIs (#60814) 2025-05-02 07:51:33 -07:00
compiler docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
debug refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
defer fix(core): properly handle app stabilization with defer blocks (#61040) 2025-04-30 12:37:02 -07:00
di fix(core): missing useExisting providers throwing for optional calls (#61137) 2025-05-06 09:12:38 -07:00
hydration fix(core): prevent stash listener conflicts (#59635) 2025-04-30 08:53:06 -07:00
i18n docs: update examples for i18n tokens (#60938) 2025-04-22 11:14:13 +02:00
interface docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
internal refactor(core): account for anonymous classes in internal utility (#58392) 2024-10-28 12:38:03 -07:00
linker docs: ViewContainerRef.createComponent jsdoc update (#61097) 2025-05-02 07:57:10 -07:00
metadata docs: replace EventEmitter with output and self-closing tags in templates (#60910) 2025-04-22 21:42:18 +02:00
platform refactor(core): remove module bootstrap code when using standalone. (#59208) 2025-05-01 08:39:34 -07:00
reflection docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
render docs: add link label & paragraph for correct display (#60708) 2025-04-30 08:18:07 -07:00
render3 fix(core): missing useExisting providers throwing for optional calls (#61137) 2025-05-06 09:12:38 -07:00
resource docs(docs-infra): Add version of introduction for APIs (#60814) 2025-05-02 07:51:33 -07:00
sanitization refactor(core): move DOM manipulation logic to its own file (#59462) 2025-01-16 10:38:44 -08:00
testability docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
util refactor(core): stop producing ng-reflect attributes by default (#60973) 2025-04-24 10:07:35 -07:00
view refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone docs: correct typo in description of runTask method (#59119) 2024-12-13 10:09:40 -08:00
authoring.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
cached_injector_service.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
change_detection.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
console.ts refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
core.externs.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.ts refactor(core): Remove zoneless change detection re-export (#61029) 2025-04-29 10:31:18 -07:00
core_private_export.ts fix(core): Flush animations when no component has been checked (#58089) 2025-04-09 11:12:54 -07:00
core_reactivity_export.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core_reactivity_export_internal.ts refactor(core): convert scripts within packages/core/src to relative imports (#60227) 2025-03-25 10:58:00 -07:00
core_render3_private_export.ts feat(devtools): defer blocks support (#60629) 2025-04-29 22:07:47 -07:00
di.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
document.ts feat(core): move DOCUMENT token into core (#60663) 2025-04-01 12:48:06 +00:00
error_details_base_url.ts docs: change xss doc url to angular new documentation (#59915) 2025-03-11 12:57:48 -07:00
error_handler.ts fix(core): do not run change detection on global error events (#60944) 2025-04-23 15:17:28 +02:00
errors.ts refactor(core): drop component factory error in production (#60601) 2025-04-01 13:12:34 +00:00
event_delegation_utils.ts refactor(core): convert scripts within packages/core/src to relative imports (#60227) 2025-03-25 10:58:00 -07:00
event_emitter.ts fix(core): async EventEmitter error should not prevent stability (#61028) 2025-04-29 22:14:15 -07:00
image_performance_warning.ts refactor(core): drop platform check in ImagePerformanceWarning (#59809) 2025-02-20 12:32:22 -05:00
linker.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_reflect.ts refactor(core): stop producing ng-reflect attributes by default (#60973) 2025-04-24 10:07:35 -07:00
pending_tasks.ts docs(docs-infra): Add version of introduction for APIs (#60814) 2025-05-02 07:51:33 -07:00
profiler.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
r3_symbols.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render.ts feat(core): add event listener options to renderer (#59092) 2024-12-10 13:39:47 -08:00
transfer_state.ts refactor(core): replace PLATFORM_ID in initTransferState (#60299) 2025-03-10 13:49:23 -07:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00