with apollo-ios 0.50.0, when I have a field of type scalar(decimal), in JSONStandardTypeConversions.swift it is attempted to be turned into a string. But since it is neither a string nor an int, it fails. Now, my patch suggestion is to test similarly to an Int if perhaps it’s a Double, then do the same. Or if iOS 15 is around, use .formatted() on a Decimal.
But, why does the client want to turn Scalar into a String in the first place? And why are the only supported scalars String and Int?