We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd91ce commit 0880ac6Copy full SHA for 0880ac6
Sources/SotoSmithy/Traits/Types/RulesTraits.swift
@@ -39,8 +39,11 @@ public struct ClientContextParamsTrait: StaticTrait {
39
public init() {}
40
}
41
42
-public struct StaticContextParamsTrait: StaticTrait {
+public struct StaticContextParamsTrait: SingleValueTrait {
43
public static let staticName: ShapeId = "smithy.rules#staticContextParams"
44
public var selector: Selector { TypeSelector<OperationShape>() }
45
- public init() {}
+ public var value: [String: Document]
46
+ public init(value: [String: Document]) {
47
+ self.value = value
48
+ }
49
0 commit comments