simple-graphql
Advanced tools
Comparing version 3.2.3 to 3.2.4
@@ -124,3 +124,3 @@ "use strict"; | ||
onDelete: onDelete, | ||
constraints: true | ||
constraints: lodash_1.default.get(options, 'columnOptions.constraints', true) | ||
} | ||
@@ -136,3 +136,3 @@ }); | ||
onDelete: onDelete, | ||
constraints: true | ||
constraints: lodash_1.default.get(options, 'columnOptions.constraints', true) | ||
} | ||
@@ -139,0 +139,0 @@ }); |
@@ -126,3 +126,5 @@ import { GraphQLFieldResolver, GraphQLInputType, GraphQLInterfaceType, GraphQLOutputType, GraphQLResolveInfo } from 'graphql'; | ||
hidden?: boolean; | ||
columnOptions?: ModelAttributeColumnOptions; | ||
columnOptions?: ModelAttributeColumnOptions & { | ||
constraints?: boolean; | ||
}; | ||
resolve?: FieldResolve; | ||
@@ -129,0 +131,0 @@ }; |
{ | ||
"name": "simple-graphql", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
335996
4904