File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
- 4.2
1
+ 5.0
Original file line number Diff line number Diff line change 6
6
"repositoryURL" : " https://github.com/vapor/core.git" ,
7
7
"state" : {
8
8
"branch" : null ,
9
- "revision" : " 1794ff138bd669175a2528d27695028d7cb30471 " ,
10
- "version" : " 3.5 .0"
9
+ "revision" : " 2731f8ba0cf274a61c9bd6ab43550f692ffaf879 " ,
10
+ "version" : " 3.9 .0"
11
11
}
12
12
},
13
13
{
14
14
"package" : " CRuntime" ,
15
15
"repositoryURL" : " https://github.com/wickwirew/CRuntime.git" ,
16
16
"state" : {
17
17
"branch" : null ,
18
- "revision" : " 8d0dd0ca3787d15682c1f44de3d298459870b121 " ,
19
- "version" : " 1.0.0 "
18
+ "revision" : " 95f911318d8c885f6fc05e971471f94adfd39405 " ,
19
+ "version" : " 2.1.2 "
20
20
}
21
21
},
22
22
{
23
23
"package" : " GraphQL" ,
24
24
"repositoryURL" : " https://github.com/GraphQLSwift/GraphQL.git" ,
25
25
"state" : {
26
26
"branch" : " master" ,
27
- "revision" : " 2ba73c3691dbcdeb6e09ad4f6df46536ba692c83 " ,
27
+ "revision" : " 1c9e24fa43f26826fc2d42d875f8fe611d25bf35 " ,
28
28
"version" : null
29
29
}
30
30
},
33
33
"repositoryURL" : " https://github.com/wickwirew/Runtime.git" ,
34
34
"state" : {
35
35
"branch" : null ,
36
- "revision" : " 40cdfbad9650512507c060824e1c4e9fc2ca721d " ,
37
- "version" : " 1 .1.0"
36
+ "revision" : " c167476b07fe8cc65fdf064076a4081c3269d14a " ,
37
+ "version" : " 2 .1.0"
38
38
}
39
39
},
40
40
{
41
41
"package" : " swift-nio" ,
42
42
"repositoryURL" : " https://github.com/apple/swift-nio.git" ,
43
43
"state" : {
44
44
"branch" : null ,
45
- "revision" : " 03c541a24dd0558c942b15d8464eb75d70a921c4 " ,
46
- "version" : " 1.12 .1"
45
+ "revision" : " ba7970fe396e8198b84c6c1b44b38a1d4e2eb6bd " ,
46
+ "version" : " 1.14 .1"
47
47
}
48
48
},
49
49
{
Original file line number Diff line number Diff line change 1
- // swift-tools-version:4.2
1
+ // swift-tools-version:5.0
2
2
import PackageDescription
3
3
4
4
let package = Package (
@@ -9,7 +9,7 @@ let package = Package(
9
9
] ,
10
10
11
11
dependencies: [
12
- . package ( url: " https://github.com/GraphQLSwift/GraphQL.git " , from : " 0.9.0 " ) ,
12
+ . package ( url: " https://github.com/GraphQLSwift/GraphQL.git " , . branch ( " master " ) ) ,
13
13
] ,
14
14
15
15
targets: [
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ final class AnyType : Hashable {
9
9
self . type = type
10
10
}
11
11
12
- var hashValue : Int {
13
- return String ( describing: type) . hashValue
12
+ func hash ( into hasher : inout Hasher ) {
13
+ hasher . combine ( String ( describing: type) )
14
14
}
15
15
16
16
static func == ( lhs: AnyType , rhs: AnyType ) -> Bool {
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ public extension SchemaBuilder {
348
348
return outputType
349
349
}
350
350
351
- public func getInputType( from type: Any . Type , field: String ) throws -> GraphQLInputType {
351
+ func getInputType( from type: Any . Type , field: String ) throws -> GraphQLInputType {
352
352
guard let graphQLType = getGraphQLType ( from: type) else {
353
353
throw GraphQLError (
354
354
message:
You can’t perform that action at this time.
0 commit comments