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

Fixed IsNameUnique for InMemory WorkflowDefinition store #4370

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

yspanj
Copy link
Contributor

@yspanj yspanj commented Aug 29, 2023

IWorkflowDefinitionStore GetIsNameUnique only inverted the result in the InMemoryStore, and it was inverted again in the endpoint.

I changed the GetIsNameUnique to return false when the name already exists, and removed the invert in the endpoint.

This should fix the issue seen in elsa-workflows/elsa-studio#29

Copy link
Member

@sfmskywalker sfmskywalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sfmskywalker sfmskywalker merged commit 2c014a9 into elsa-workflows:v3 Aug 29, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants