I recently ran into a problem where I gave two commands the same name. Problem was I didn't find out until i got an obscure error during CDK synth and a construct name duplicate error was thrown. This is not friendly for developers. We should fix.
Looks like we have some inconsistency with how we handle registrations. Some use maps, others don't. The ones that use maps validate that the name is unique, others don't.
I recently ran into a problem where I gave two commands the same name. Problem was I didn't find out until i got an obscure error during CDK synth and a construct name duplicate error was thrown. This is not friendly for developers. We should fix.
Looks like we have some inconsistency with how we handle registrations. Some use maps, others don't. The ones that use maps validate that the name is unique, others don't.