apollo-kotlin icon indicating copy to clipboard operation
apollo-kotlin copied to clipboard

Codegen GraphQL Float should be Kotlin Double

Open bwilliams opened this issue 1 year ago • 5 comments

Version

3.8.4

Summary

The gradle Kotlin codegen plugin is mapping GraphQL Float to kotlin.Float when it should be using kotlin.Double

Steps to reproduce the behavior

Follow codegen instructions.

Execute query in code on an API with GraphQL Float values that don't fit in a kotlin Float

Error "Can't serialize value ...: Expected type 'Float' but was 'Double'.

Logs

(Your logs here)

bwilliams avatar May 30 '24 20:05 bwilliams