diff --git a/graphql_server/lib/graphql_server.dart b/graphql_server/lib/graphql_server.dart index b8355dae..02b3a51f 100644 --- a/graphql_server/lib/graphql_server.dart +++ b/graphql_server/lib/graphql_server.dart @@ -59,7 +59,7 @@ class GraphQL { } else if (ctx.typeName != null) { switch (ctx.typeName.name) { case 'Int': - return graphQLString; + return graphQLInt; case 'Float': return graphQLFloat; case 'String':