Merge pull request #31 from ditkrg/dev

Add generic type constraints to ListTransitionsRequest in Query.cs
This commit is contained in:
Ara 2024-04-29 13:40:37 +03:00 committed by GitHub
commit f6f93d4744
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,8 @@ namespace DIT.Workflower;
public sealed class ListTransitionsRequest<TState, TCommand, TContext> public sealed class ListTransitionsRequest<TState, TCommand, TContext>
where TState : struct
where TCommand : struct
{ {
public TState? From { get; set; } public TState? From { get; set; }