From e78701799280be105e3b3205b1aace83039c41d4 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 17 Aug 2025 18:05:44 -0400 Subject: [PATCH] Tag the REST Projectables --- .../Authority/Core/RestAuthorityInvoker{TAuthority}.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Authority/Core/RestAuthorityInvoker{TAuthority}.cs b/src/Tgstation.Server.Host/Authority/Core/RestAuthorityInvoker{TAuthority}.cs index 7821a4b736..5fe26f5c03 100644 --- a/src/Tgstation.Server.Host/Authority/Core/RestAuthorityInvoker{TAuthority}.cs +++ b/src/Tgstation.Server.Host/Authority/Core/RestAuthorityInvoker{TAuthority}.cs @@ -4,6 +4,7 @@ using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; using Tgstation.Server.Host.Controllers; using Tgstation.Server.Host.Extensions; @@ -164,7 +165,8 @@ namespace Tgstation.Server.Host.Authority.Core var transformer = new TTransformer(); var authorityResponse = await projectable.Resolve( queryable => queryable - .Select(transformer.ProjectedExpression)); + .Select(transformer.ProjectedExpression) + .TagWith("REST Projections")); var erroredResult = CreateErroredActionResult(controller, authorityResponse); if (erroredResult != null) return erroredResult;