diff --git a/src/index.js b/src/index.js index 77d305e0..d33aeabd 100644 --- a/src/index.js +++ b/src/index.js @@ -5,5 +5,6 @@ module.exports = { typeMapper: require('./typeMapper'), attributeFields: require('./attributeFields'), simplifyAST: require('./simplifyAST'), - relay: require('./relay') + relay: require('./relay'), + JSONType: require('./types/jsonType') }; diff --git a/src/types/jsonType.js b/src/types/jsonType.js index ad3eeb9f..1862be79 100644 --- a/src/types/jsonType.js +++ b/src/types/jsonType.js @@ -41,7 +41,7 @@ const astToJson = { const JSONType = new GraphQLScalarType({ - name: 'JSON', + name: 'SequelizeJSON', description: 'The `JSON` scalar type represents raw JSON as values.', serialize: value => value, parseValue: value => value,