Skip to content

Commit

Permalink
Fix returned graphql type on INTEGER & BIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Steeman committed Sep 17, 2015
1 parent 07fee77 commit 8b4203b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeMapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function toGraphQL(sequelizeType, sequelizeTypes) {

if (sequelizeType instanceof INTEGER ||
sequelizeType instanceof BIGINT) {
return GraphQLString;
return GraphQLInt;
}

if (sequelizeType instanceof STRING ||
Expand Down

0 comments on commit 8b4203b

Please sign in to comment.