serverlessworkflow / sdk-java

Java SDK for Serverless Workflow
http://serverlessworkflow.io
Apache License 2.0
79 stars 47 forks source link

Report duplicate function error #465

Closed fjtirado closed 2 weeks ago

fjtirado commented 2 weeks ago

What would you like to be added:

If a workflow definition contains the same function definition duplicated, the first one in the list is used, the second one is ignored. After some thoughts, @ricardozanini and myself agrees that it will be better to throw an error for users to correct it.

Why is this needed: In order to report which most of times constitutes an error in the definition