FIx broken int variable type parsing

This commit is contained in:
Michael Joseph Rosenthal 2019-08-26 18:55:42 -05:00 committed by GitHub
parent 77eb28f49c
commit 35c8e1088d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class GraphQL {
} else if (ctx.typeName != null) { } else if (ctx.typeName != null) {
switch (ctx.typeName.name) { switch (ctx.typeName.name) {
case 'Int': case 'Int':
return graphQLString; return graphQLInt;
case 'Float': case 'Float':
return graphQLFloat; return graphQLFloat;
case 'String': case 'String':