From a94383425c8eaf014e0c33fe8c9b49c601ac7ee8 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Sun, 24 Mar 2024 10:15:55 -0500 Subject: [PATCH] Update EntityQueryEndpointBase.cs --- src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs b/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs index bfb40e86..ad8185ed 100644 --- a/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs +++ b/src/MediatR.CommandQuery.Endpoints/EntityQueryEndpointBase.cs @@ -72,6 +72,7 @@ protected virtual void MapGroup(RouteGroupBuilder group) .WithName($"Get{EntityName}List") .WithSummary("Get entities by query") .WithDescription("Get entities by query"); + group .MapPost("query", PostSelectQuery) .Produces>()