Custom scalar support - defaults to String but can be configured to deserialize to specific types
Is it possible to have the custom Long scalar be a Long instead of a String as the underlying type?
It is now quite strange to assert that the long values returned by the test-client is in fact strings.
Using this custom scalar:
override fun willGenerateGraphQLType(type: KType): GraphQLType? = when (type.classifier) {
Long::class -> ExtendedScalars.GraphQLLong
results in:
/**
* Long type
*/
public typealias Long = String