feathers-sequelize
Advanced tools
Comparing version 4.0.2 to 4.0.3
# Change Log | ||
## [v4.0.2](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v4.0.2) (2018-12-21) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v4.0.1...v4.0.2) | ||
**Merged pull requests:** | ||
- Make sure that Symbols are included in filtered query [\#260](https://github.com/feathersjs-ecosystem/feathers-sequelize/pull/260) ([daffl](https://github.com/daffl)) | ||
## [v4.0.1](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v4.0.1) (2018-12-21) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v4.0.0...v4.0.1) |
@@ -44,3 +44,3 @@ const errors = require('@feathersjs/errors'); | ||
get Model () { | ||
return this.getModel(); | ||
return this.options.Model; | ||
} | ||
@@ -261,3 +261,2 @@ | ||
const where = Object.assign({}, this.filterQuery(params).query); | ||
const options = Object.assign({ raw: this.raw }, params.sequelize); | ||
@@ -276,3 +275,4 @@ // Force the {raw: false} option as the instance is needed to properly | ||
return instance.update(copy, updateOptions).then(() => this._get(id, { sequelize: options })); | ||
return instance.update(copy, updateOptions) | ||
.then(() => this._get(id, { sequelize: params.sequelize })); | ||
}) | ||
@@ -279,0 +279,0 @@ .then(select(params, this.id)) |
{ | ||
"name": "feathers-sequelize", | ||
"description": "A service adapter for Sequelize an SQL ORM", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"homepage": "https://github.com/feathersjs-ecosystem/feathers-sequelize", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
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
77114