simple-graphql
Advanced tools
Comparing version 4.2.6 to 4.2.7
@@ -134,15 +134,2 @@ "use strict"; | ||
foreignKey: { | ||
name: foreignField + 'Id', | ||
allowNull: options.nullable | ||
}, | ||
onDelete: onDelete, | ||
constraints: constraints | ||
} | ||
}); | ||
schema.belongsTo({ | ||
[fieldName]: { | ||
target: typeName, | ||
hidden: true, | ||
foreignField: foreignField, | ||
foreignKey: { | ||
name: ((_f = (_e = options.metadata) === null || _e === void 0 ? void 0 : _e.column) === null || _f === void 0 ? void 0 : _f.field) || foreignField + 'Id', | ||
@@ -149,0 +136,0 @@ allowNull: options.nullable !== false |
{ | ||
"name": "simple-graphql", | ||
"version": "4.2.6", | ||
"version": "4.2.7", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
333162
4923