Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/GraphQLSwift/GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria committed Aug 1, 2020
2 parents 74c7aa5 + eb234d1 commit 69f2cd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/GraphQL/Map/Map.swift
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,10 @@ extension Map : Codable {
if container.decodeNil() {
self = .null
}

else if let bool = try? container.decode(Bool.self) {
self = .bool(bool)
}

else if let double = try? container.decode(Double.self) {
self = .number(Number(double))
Expand Down

0 comments on commit 69f2cd4

Please sign in to comment.