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/util/RuntimeConfigProperty.kt
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ServiceClientConfigGeneratorTest.kt
@@ -219,7 +218,6 @@ public class Config private constructor(builder: Builder) {
219
218
contents.shouldContain(expectedProps)
220
219
}
221
220
222
-
@Ignore
223
221
@Test
224
222
fun`it overrides props by name`() {
225
223
val model = getModel()
@@ -247,7 +245,7 @@ public class Config private constructor(builder: Builder) {
247
245
// Expect logMode config value to override default to LogMode.Request
248
246
val expectedConfigValues ="""
249
247
override val clientName: String = builder.clientName
250
-
override val authSchemePreference: kotlin.collections.List<aws.smithy.kotlin.runtime.auth.AuthSchemeId> = builder.authSchemePreference
248
+
override val authSchemePreference: kotlin.collections.List<aws.smithy.kotlin.runtime.auth.AuthSchemeId>? = builder.authSchemePreference
251
249
override val authSchemes: kotlin.collections.List<aws.smithy.kotlin.runtime.http.auth.AuthScheme> = builder.authSchemes
252
250
public val customProp: Int? = builder.customProp
253
251
public val endpointProvider: TestEndpointProvider = requireNotNull(builder.endpointProvider) { "endpointProvider is a required configuration property" }
0 commit comments