refactor(devtools): improve formatting of injector providers token labels

Use `InjectionToken.toString` for the string representation of `InjectionToken`s for better readibility.

(cherry picked from commit 9f4c025531)
This commit is contained in:
hawkgs
2026-02-17 13:36:13 +02:00
committed by Matt Beck
parent 24d00e9bb3
commit 2f86006930
@@ -407,7 +407,7 @@ const getDependenciesForDirective = (
const valueToLabel = (value: any): string => {
if (isInjectionToken(value)) {
return `InjectionToken(${value['_desc']})`;
return value.toString();
}
if (typeof value === 'object') {