π | Do not allow targets with same name
nbrouand opened this issue Β· comments
nbrouand commented
Describe your use case
Since the target name is used as an identifier, having targets with the same name in the same environment is not recommended.
We could warn users and even prevent execution, since it could lead to unexpected system state.
Describe the solution you'd like
In JsonFilesEnvironmentRepository.java, on doSave verify that there are no targets with same names (raise an exception with details).