Integration von RemoveIfControllerConvention zur bedingten Ausschließung von Test-Controllern

Implementierung von RemoveIfControllerConvention in der Startup-Klasse, um Controller, die mit "Test" beginnen, basierend auf einem Konfigurationsflag auszuschließen, was die Flexibilität der Dienstregistrierung erhöht.
This commit is contained in:
Developer 02
2024-04-09 13:52:38 +02:00
parent 6941a3db8d
commit 2c17d440c0
21 changed files with 70 additions and 49 deletions

View File

@@ -1,6 +1,4 @@
using EnvelopeGenerator.Domain.Entities;
namespace EnvelopeGenerator.Application.DTOs
namespace EnvelopeGenerator.Application.DTOs
{
public record EnvelopeDocumentDto
(
@@ -10,6 +8,6 @@ namespace EnvelopeGenerator.Application.DTOs
string Filepath,
DateTime AddedWhen,
string FilenameOriginal,
IEnumerable<DocumentReceiverElement>? Elements
IEnumerable<DocumentReceiverElementDto>? Elements
);
}