From 9e30824ef8d9af87c5c4a4b09bbc42f19ad8f7d5 Mon Sep 17 00:00:00 2001 From: Nichola Alkhouri Date: Thu, 29 Jul 2021 09:18:19 +0200 Subject: [PATCH] docs: Fix wrongly provided/Injected AnimalService (#42988) In the logical tree example which demonstrate the use of `@SkipSelf` and `@Host`, the provided and injected `AnimalService` are reversed. PR Close #42988 --- aio/content/guide/hierarchical-dependency-injection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/hierarchical-dependency-injection.md b/aio/content/guide/hierarchical-dependency-injection.md index 3d33a5a35e..19c2ba8899 100644 --- a/aio/content/guide/hierarchical-dependency-injection.md +++ b/aio/content/guide/hierarchical-dependency-injection.md @@ -1021,8 +1021,8 @@ The logical tree representation shows why this is: @Inject(AnimalService, @Optional)=>"🦔"> - <#VIEW @Provide(AnimalService="🦔") - @Inject(AnimalService, @SkipSelf, @Host, @Optional)=>"🐶"> + <#VIEW @Provide(AnimalService="🐶") + @Inject(AnimalService, @SkipSelf, @Host, @Optional)=>"🦔">