Int type in schema is quoted in GraphQL response, leading to Swift decoding error

You see here it’s defined in Swift as an Int (I’m in developer mode so the schema is based on my swift types)

On Realm, the generated schema is correct.

The GraphQL schema is also correct,

CleanShot 2021-05-17 at 10.16.13@2x

However, the response from GraphQL quotes the Integer:

…which causes Swift’s Decodable to fail with the error:

typeMismatch(Swift.Int, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "version", intValue: nil)], debugDescription: "Expected to decode Int but found a string/data instead.", underlyingError: nil))