Skip to content

Commit 8b4203b

Browse files
author
Jarno Steeman
committed
Fix returned graphql type on INTEGER & BIGINT
1 parent 07fee77 commit 8b4203b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typeMapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function toGraphQL(sequelizeType, sequelizeTypes) {
3535

3636
if (sequelizeType instanceof INTEGER ||
3737
sequelizeType instanceof BIGINT) {
38-
return GraphQLString;
38+
return GraphQLInt;
3939
}
4040

4141
if (sequelizeType instanceof STRING ||

0 commit comments

Comments
 (0)