Merge pull request #32 from micimize/patch-1

FIx broken int variable type parsing
This commit is contained in:
Tobe Osakwe 2019-08-26 20:08:48 -04:00 committed by GitHub
commit 6fc6d1453e
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) {
switch (ctx.typeName.name) {
case 'Int':
return graphQLString;
return graphQLInt;
case 'Float':
return graphQLFloat;
case 'String':