diff --git a/graphene_sqlalchemy/converter.py b/graphene_sqlalchemy/converter.py index 05690697..c37311bc 100644 --- a/graphene_sqlalchemy/converter.py +++ b/graphene_sqlalchemy/converter.py @@ -95,7 +95,7 @@ def convert_column_to_string(type, column, registry=None): @convert_sqlalchemy_type.register(types.SmallInteger) -@convert_sqlalchemy_type.register(types.BigInteger) +#@convert_sqlalchemy_type.register(types.BigInteger) @convert_sqlalchemy_type.register(types.Integer) def convert_column_to_int_or_id(type, column, registry=None): if column.primary_key: @@ -111,6 +111,7 @@ def convert_column_to_boolean(type, column, registry=None): @convert_sqlalchemy_type.register(types.Float) @convert_sqlalchemy_type.register(types.Numeric) +@convert_sqlalchemy_type.register(types.BigInteger) def convert_column_to_float(type, column, registry=None): return Float(description=column.doc, required=not(column.nullable))