Skip to content
  •  
  •  
  •  
1 change: 1 addition & 0 deletions dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,4 @@ websockets
Wilhuff
Wunder
xunit
Expando
8 changes: 6 additions & 2 deletions src/CookieCrumble/src/CookieCrumble/Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,12 @@ private void WriteMarkdownSegments(IBufferWriter<byte> writer)
foreach (var segment in _segments)
{
i++;

if (i > 1)
{
writer.AppendLine();
}

writer.Append(
string.IsNullOrEmpty(segment.Name)
? $"## Result {i}"
Expand Down Expand Up @@ -499,8 +505,6 @@ private void WriteMarkdownSegments(IBufferWriter<byte> writer)
default:
throw new NotSupportedException();
}

writer.AppendLine();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ ORDER BY p1."BrandId", p3."BrandId", p3."Name", p3."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].Where(t => (((t.BrandId == 1) OrElse (t.BrandId == 2)) OrElse (t.BrandId == 3))).GroupBy(k => k.BrandId).Select(g => new Group`2() {Key = g.Key, Items = g.OrderBy(p => p.Name).ThenBy(p => p.Id).Take(3).ToList()})
```

Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ ORDER BY t."BrandId", t0."BrandId", t0."Name", t0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].Where(t => (((t.BrandId == 1) OrElse (t.BrandId == 2)) OrElse (t.BrandId == 3))).GroupBy(k => k.BrandId).Select(g => new Group`2() {Key = g.Key, Items = g.OrderBy(p => p.Name).ThenBy(p => p.Id).Take(3).ToList()})
```

Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ ORDER BY p1."BrandId", p3."BrandId", p3."Id" DESC
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].Where(t => (((t.BrandId == 1) OrElse (t.BrandId == 2)) OrElse (t.BrandId == 3))).GroupBy(k => k.BrandId).Select(g => new Group`2() {Key = g.Key, Items = g.OrderByDescending(p => p.Id).Take(3).ToList()})
```

Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ ORDER BY t."BrandId", t0."BrandId", t0."Id" DESC
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].Where(t => (((t.BrandId == 1) OrElse (t.BrandId == 2)) OrElse (t.BrandId == 3))).GroupBy(k => k.BrandId).Select(g => new Group`2() {Key = g.Key, Items = g.OrderByDescending(p => p.Id).Take(3).ToList()})
```

Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,3 @@ ORDER BY p1."BrandId", p3."BrandId", p3."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].Where(t => (((t.BrandId == 1) OrElse (t.BrandId == 2)) OrElse (t.BrandId == 3))).GroupBy(k => k.BrandId).Select(g => new Group`2() {Key = g.Key, Items = g.OrderBy(p => p.Id).Take(3).ToList()})
```

Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,3 @@ ORDER BY t."BrandId", t0."BrandId", t0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].Where(t => (((t.BrandId == 1) OrElse (t.BrandId == 2)) OrElse (t.BrandId == 3))).GroupBy(k => k.BrandId).Select(g => new Group`2() {Key = g.Key, Items = g.OrderBy(p => p.Id).Take(3).ToList()})
```

Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,3 @@ LIMIT @p
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,3 @@ LIMIT @__p_0
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,3 @@ LIMIT @__p_0
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ LIMIT @p
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ LIMIT @__p_2
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ LIMIT @__p_2
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ LIMIT @p
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ LIMIT @__p_2
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ LIMIT @__p_2
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ LIMIT @p
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ LIMIT @__p_0
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ LIMIT @__p_0
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@ LIMIT @p
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@ LIMIT @__p_0
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@ LIMIT @__p_0
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -2070,4 +2070,3 @@ ORDER BY b0."Name", b0."Id"
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -2070,4 +2070,3 @@ ORDER BY t."Name", t."Id"
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -2070,4 +2070,3 @@ ORDER BY b0."Name", b0."Id"
}
]
```

Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@
]
}
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## SQL 0

```sql
-- @p='3'
SELECT p0."Id", p0."Name", b."Id", b."AlwaysNull", b."DisplayName", b."Name", b."BrandDetails_Country_Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @p
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
-- @p='3'
SELECT p0."Id", p0."Name", b."Id", b."AlwaysNull", b."DisplayName", b."Name", b."BrandDetails_Country_Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @p
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
ORDER BY p0."Id"
```

Expand All @@ -20,4 +20,3 @@ ORDER BY p0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Product() {Id = root.Id, Name = root.Name, Brand = root.Brand}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ ORDER BY t."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Product() {Id = root.Id, Name = root.Name, Brand = root.Brand}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## SQL 0

```sql
-- @__p_0='3'
SELECT p0."Id", p0."Name", b."Id", b."AlwaysNull", b."DisplayName", b."Name", b."BrandDetails_Country_Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @__p_0
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
-- @__p_0='3'
SELECT p0."Id", p0."Name", b."Id", b."AlwaysNull", b."DisplayName", b."Name", b."BrandDetails_Country_Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @__p_0
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
ORDER BY p0."Id"
```

Expand All @@ -20,4 +20,3 @@ ORDER BY p0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Product() {Id = root.Id, Name = root.Name, Brand = root.Brand}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## SQL 0

```sql
-- @p='3'
SELECT p0."Id", p0."Name", b."Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @p
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
-- @p='3'
SELECT p0."Id", p0."Name", b."Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @p
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
ORDER BY p0."Id"
```

Expand All @@ -20,4 +20,3 @@ ORDER BY p0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Product() {Id = root.Id, Name = root.Name, Brand = new Brand() {Name = root.Brand.Name}}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ ORDER BY t."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Product() {Id = root.Id, Name = root.Name, Brand = new Brand() {Name = root.Brand.Name}}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## SQL 0

```sql
-- @__p_0='3'
SELECT p0."Id", p0."Name", b."Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @__p_0
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
-- @__p_0='3'
SELECT p0."Id", p0."Name", b."Name"
FROM (
SELECT p."Id", p."BrandId", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @__p_0
) AS p0
INNER JOIN "Brands" AS b ON p0."BrandId" = b."Id"
ORDER BY p0."Id"
```

Expand All @@ -20,4 +20,3 @@ ORDER BY p0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Product() {Id = root.Id, Name = root.Name, Brand = new Brand() {Name = root.Brand.Name}}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## SQL 0

```sql
-- @p='3'
SELECT b0."Id", b0."Name", p."Id", p."Name"
FROM (
SELECT b."Id", b."Name"
FROM "Brands" AS b
ORDER BY b."Id"
LIMIT @p
) AS b0
LEFT JOIN "Products" AS p ON b0."Id" = p."BrandId"
-- @p='3'
SELECT b0."Id", b0."Name", p."Id", p."Name"
FROM (
SELECT b."Id", b."Name"
FROM "Brands" AS b
ORDER BY b."Id"
LIMIT @p
) AS b0
LEFT JOIN "Products" AS p ON b0."Id" = p."BrandId"
ORDER BY b0."Id"
```

Expand All @@ -20,4 +20,3 @@ ORDER BY b0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Brand() {Id = root.Id, Name = root.Name, Products = root.Products.Select(p => new Product() {Id = p.Id, Name = p.Name}).ToList()}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ ORDER BY t."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Brand() {Id = root.Id, Name = root.Name, Products = root.Products.Select(p => new Product() {Id = p.Id, Name = p.Name}).ToList()}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## SQL 0

```sql
-- @__p_0='3'
SELECT b0."Id", b0."Name", p."Id", p."Name"
FROM (
SELECT b."Id", b."Name"
FROM "Brands" AS b
ORDER BY b."Id"
LIMIT @__p_0
) AS b0
LEFT JOIN "Products" AS p ON b0."Id" = p."BrandId"
-- @__p_0='3'
SELECT b0."Id", b0."Name", p."Id", p."Name"
FROM (
SELECT b."Id", b."Name"
FROM "Brands" AS b
ORDER BY b."Id"
LIMIT @__p_0
) AS b0
LEFT JOIN "Products" AS p ON b0."Id" = p."BrandId"
ORDER BY b0."Id"
```

Expand All @@ -20,4 +20,3 @@ ORDER BY b0."Id"
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(root => new Brand() {Id = root.Id, Name = root.Name, Products = root.Products.Select(p => new Product() {Id = p.Id, Name = p.Name}).ToList()}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ LIMIT @p
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(t => new Product() {Id = t.Id, Name = t.Name}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ LIMIT @__p_0
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(t => new Product() {Id = t.Id, Name = t.Name}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## SQL 0

```sql
-- @__p_0='3'
SELECT p."Id", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
-- @__p_0='3'
SELECT p."Id", p."Name"
FROM "Products" AS p
ORDER BY p."Id"
LIMIT @__p_0
```

Expand All @@ -15,4 +15,3 @@ LIMIT @__p_0
```text
[Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression].OrderBy(t => t.Id).Select(t => new Product() {Id = t.Id, Name = t.Name}).Take(3)
```

Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ public static void AddMcpServices(this IServiceCollection services, string schem
static (sp, name) => new McpRequestExecutorProxy(
sp.GetRequiredService<IRequestExecutorProvider>(),
sp.GetRequiredService<IRequestExecutorEvents>(),
#if NET10_0_OR_GREATER
(string)name))
#else
(string)name!))
#endif
.AddKeyedSingleton(
schemaName,
static (sp, name) => new StreamableHttpHandlerProxy(
Expand Down
Loading
Loading