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,
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))