feat: create request projects for basic CQRS
All checks were successful
default / dotnet-default-workflow (push) Successful in 1m58s
All checks were successful
default / dotnet-default-workflow (push) Successful in 1m58s
This commit is contained in:
commit
25d0e27811
190 changed files with 12220 additions and 0 deletions
12
src/request.dispatcher.tests/_fixtures/TestHandler.cs
Normal file
12
src/request.dispatcher.tests/_fixtures/TestHandler.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) The Geekeey Authors
|
||||
// SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
namespace Geekeey.Request.Dispatcher.Tests;
|
||||
|
||||
internal sealed class TestHandler : IScalarRequestHandler<TestRequest, string>
|
||||
{
|
||||
public Task<string> HandleAsync(TestRequest request, CancellationToken ct)
|
||||
{
|
||||
return Task.FromResult("ok");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue