From c12959aa223abe71d03b5ad85690c26ce7787368 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Thu, 19 Dec 2024 15:42:11 -0800 Subject: [PATCH] Fix ambiguous reference to terminal middleware --- aspnetcore/fundamentals/middleware/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/middleware/index.md b/aspnetcore/fundamentals/middleware/index.md index 7cb4afef2090..a20172d38934 100644 --- a/aspnetcore/fundamentals/middleware/index.md +++ b/aspnetcore/fundamentals/middleware/index.md @@ -262,7 +262,7 @@ The following table shows the requests and responses from `http://localhost:1234 | `localhost:1234` | `Hello from non-Map delegate.` | | `localhost:1234/?branch=main` | `Branch used = main` | - also branches the request pipeline based on the result of the given predicate. Unlike with `MapWhen`, this branch is rejoined to the main pipeline if it doesn't short-circuit or contain a terminal middleware: + also branches the request pipeline based on the result of the given predicate. Unlike with `MapWhen`, this branch is rejoined to the main pipeline if it doesn't contain a terminal middleware: [!code-csharp[](~/fundamentals/middleware/index/snapshot/Chain60/ProgramUseWhen.cs?highlight=4-5)]