From 35c8e1088d3bae3a5b65fe1e09b2dd5da2e6dd00 Mon Sep 17 00:00:00 2001 From: Michael Joseph Rosenthal Date: Mon, 26 Aug 2019 18:55:42 -0500 Subject: [PATCH] FIx broken int variable type parsing --- graphql_server/lib/graphql_server.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql_server/lib/graphql_server.dart b/graphql_server/lib/graphql_server.dart index 796422af..042694ca 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':