You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/waiters/AcceptorGenerator.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -89,12 +89,12 @@ private fun KotlinWriter.renderPathAcceptor(wi: WaiterInfo, directive: String, i
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/waiters/KotlinJmespathExpressionVisitor.kt
+36-16Lines changed: 36 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ class KotlinJmespathExpressionVisitor(
96
96
shapeCursor.removeLast()
97
97
98
98
val innerCollector =when (right) {
99
-
isMultiSelectListExpression-> innerResult.identifier // Already a list
99
+
isMultiSelectListExpression, isMultiSelectHashExpression-> innerResult.identifier // Already a list
100
100
else->"listOfNotNull(${innerResult.identifier})"
101
101
}
102
102
writer.write(innerCollector)
@@ -107,26 +107,28 @@ class KotlinJmespathExpressionVisitor(
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/rendering/waiters/AcceptorGeneratorTest.kt
0 commit comments