serverlessworkflow / sdk-go

Go SDK for Serverless Workflow
http://serverlessworkflow.io
Apache License 2.0
90 stars 35 forks source link

#181 Skip validTransitionAndEnd for States that are used for compensation #182

Closed ilewin closed 1 year ago

ilewin commented 1 year ago

Many thanks for submitting your Pull Request :heart:!

What this PR does / why we need it: This PR fixes issue #181

Special notes for reviewers: I am skipping Transition and End validate tags for states that are used for compensation as "End" should not be defined and Transition is optional for a state that is used for compensation.

**Additional information (if needed): If I missed something please let me know I will fix ASAP

spolti commented 1 year ago

https://github.com/serverlessworkflow/specification/blob/main/specification.md#workflow-compensation first bullet.