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

IWF-102: Require commandId to exist for ANY_COMMAND_COMBINATION_COMPLETED #242

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

lwolczynski
Copy link
Contributor

@lwolczynski lwolczynski commented Sep 20, 2024

Depends on indeedeng/iwf#423

Description

Checklist

  • Code compiles correctly
  • Tests for the changes have been added
  • All tests passing

Related Issue

Closes #<issue_number>

@lwolczynski lwolczynski changed the title Draft: IWF-102: Require commandId to exist for ANY_COMMAND_COMBINATION_COMPLETED IWF-102: Require commandId to exist for ANY_COMMAND_COMBINATION_COMPLETED Sep 23, 2024
package io.iworkflow.core.exceptions;

// This indicates something goes wrong in the workflow definition
public class CommandNotFoundException extends RuntimeException {
Copy link
Contributor

Choose a reason for hiding this comment

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

It's probably better to inherit from WorkflowDefinitionException. Ideally, all the error like this will use this inheritance for consistency

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@lwolczynski lwolczynski merged commit 9fe4201 into main Sep 23, 2024
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.

require every commandId to be non-empty for ANY_COMMAND_COMBINATION_COMPLETED in SDK
2 participants