Unverified Commit 83df047f authored by Zelda Hessler's avatar Zelda Hessler Committed by GitHub
Browse files

update Smithy version to 1.37 (#2949)

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent 778244f8
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -144,14 +144,12 @@ internal class EndpointTestGenerator(
                            "let mut out = #{HashMap}::<String, #{Document}>::new();",
                            *codegenScope,
                        )
                        // TODO(https://github.com/awslabs/smithy/pull/1555): remove sort by name when upgrading to
                        //   Smithy version with this PR merged
                        val keys = mutableListOf<Identifier>()
                        value.forEach { id, _ -> keys.add(id) }
                        keys.sortedBy { it.name.value }.forEach { identifier ->
                            val v = value.get(identifier)
                        val ids = mutableListOf<Identifier>()
                        value.forEach { id, _ -> ids.add(id) }
                        ids.forEach { id ->
                            val v = value.get(id)
                            rust(
                                "out.insert(${identifier.toString().dq()}.to_string(), #W.into());",
                                "out.insert(${id.toString().dq()}.to_string(), #W.into());",
                                // When writing into the hashmap, it always needs to be an owned type
                                generateValue(v),
                            )
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ kotlin.code.style=official

# codegen
smithyGradlePluginVersion=0.7.0
smithyVersion=1.35.0
smithyVersion=1.37.0

# kotlin
kotlinVersion=1.7.21