feat: create request projects for basic CQRS
All checks were successful
default / dotnet-default-workflow (push) Successful in 1m58s

This commit is contained in:
Louis Seubert 2026-05-08 20:26:26 +02:00
commit 25d0e27811
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
190 changed files with 12220 additions and 0 deletions

View file

@ -0,0 +1,14 @@
// Copyright (c) The Geekeey Authors
// SPDX-License-Identifier: EUPL-1.2
namespace Geekeey.Request.Dispatcher.Tests;
public class InterfaceConstrainedStreamHandler<TRequest> : IStreamRequestHandler<TRequest, string>
where TRequest : INamedStreamRequest
{
public async IAsyncEnumerable<string> HandleAsync(TRequest request, [System.Runtime.CompilerServices.EnumeratorCancellation] CancellationToken cancellationToken)
{
yield return $"{request.Name}-ConstrainedByInterface-0";
yield return $"{request.Name}-ConstrainedByInterface-1";
}
}