Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use WorkflowTest when workflow constructor takes parameters #1227

Open
cjundt opened this issue Jan 16, 2024 · 0 comments
Open

Can't use WorkflowTest when workflow constructor takes parameters #1227

cjundt opened this issue Jan 16, 2024 · 0 comments

Comments

@cjundt
Copy link

cjundt commented Jan 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant