CreateDedicatedInputAndOutput
leaves orphaned shapes in some cases
#1373
Labels
bug
This issue is a bug.
Consider the following Smithy model:
The
CreateDedicatedInputAndOutput
model transformer (with suffixes “Input” and “Output”) will createGenerateSpeechInput
andGenerateSpeechOperationOutput
structures to replace the input/output on that operation. However, when it does so, it does NOT removeGenerateSpeechOutput
from the model when it should because it gets confused into thinking it’s not a singular reference due to the original unmutated operation’s input referencing it. However, it is a singular reference because it replaced that input withGenerateSpeechInput
.The text was updated successfully, but these errors were encountered: