workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

Can't use WorkflowTest when workflow constructor takes parameters

Open cjundt opened this issue 2 years ago • 0 comments

Describe the bug WorkflowTest<TWorkflow, TData> has a limitation : where TWorkflow : new() thus preventing use of workflows with no parameterless constructor.

To Reproduce

Expected behavior Should remove the new() constraint.

Additional context Would be happy to submit a pull request.

cjundt avatar Jan 16 '24 10:01 cjundt