Skip to content

Commit fb5c39e

Browse files
committed
Fix inconsitency between Foundation on mac and linux.
1 parent 0180c4f commit fb5c39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GraphQL/Execution/Values.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func getArgumentValues(argDefs: [GraphQLArgumentDefinition], argASTs: [Argument]
4949
return nil
5050
}
5151

52-
let object = try JSONSerialization.jsonObject(with: data, options: .fragmentsAllowed)
52+
let object = try JSONSerialization.jsonObject(with: data, options: .allowFragments)
5353
return try map(from: object)
5454
}
5555
}

0 commit comments

Comments
 (0)