File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -973,7 +973,7 @@ public final class GraphQLInputObjectType {
973
973
974
974
public let fields : InputObjectFieldMap
975
975
976
- init (
976
+ public init (
977
977
name: String ,
978
978
description: String ? = nil ,
979
979
fields: InputObjectConfigFieldMap
@@ -1049,6 +1049,12 @@ public struct InputObjectField {
1049
1049
public let type : GraphQLInputType
1050
1050
public let defaultValue : Map ?
1051
1051
public let description : String ?
1052
+
1053
+ public init ( type: GraphQLInputType , defaultValue: Map ? = nil , description: String ? = nil ) {
1054
+ self . type = type
1055
+ self . defaultValue = defaultValue
1056
+ self . description = description
1057
+ }
1052
1058
}
1053
1059
1054
1060
public typealias InputObjectConfigFieldMap = [ String : InputObjectField ]
You can’t perform that action at this time.
0 commit comments