mirror of
https://github.com/ditkrg/DIT.Workflower.git
synced 2026-01-22 22:06:42 +00:00
Merge pull request #31 from ditkrg/dev
Add generic type constraints to ListTransitionsRequest in Query.cs
This commit is contained in:
commit
f6f93d4744
@ -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; }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user