feat: fail to apply the promise if there are duplicated workflow names #91
Labels
debuggability
Tickets that are focussed on making the debugging & building of promises easier
enhancement
New feature or request
R&D
Denotes work that qualifies for R&D tax credits
A promise cannot contain workflows with duplicated names, like in the example below:
That's because the pipeline name is used in the Work that's created by the pipeline.
However, when the user applies this promise, Kratix accepts it. The user will only find out the problem much later, and even so it will be a bit obscure for them to find out whats wrong.
A better experience would be to fail the apply, and output a message with the reason why.
The text was updated successfully, but these errors were encountered: