Comparing version 3.0.0-rc.2 to 3.0.0-rc.3
@@ -0,1 +1,7 @@ | ||
##### 3.0.0-rc.3 - 25 July 2016 | ||
###### Bug fixes | ||
- #370 - fix(belongsTo): do not try to link when foreign key is null by @nickescallon | ||
- #371 - Remove target param when calling target.set() by @nickescallon | ||
##### 3.0.0-rc.2 - 08 July 2016 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "js-data", | ||
"description": "Robust, framework-agnostic in-memory data store.", | ||
"version": "3.0.0-rc.2", | ||
"version": "3.0.0-rc.3", | ||
"homepage": "http://www.js-data.io", | ||
@@ -73,3 +73,3 @@ "repository": { | ||
"babel-plugin-transform-es2015-modules-umd": "6.8.0", | ||
"babel-plugin-transform-regenerator": "6.9.0", | ||
"babel-plugin-transform-regenerator": "6.11.4", | ||
"js-data-repo-tools": "0.5.5", | ||
@@ -76,0 +76,0 @@ "karma": "1.1.1", |
@@ -19,3 +19,3 @@ import utils from '../utils' | ||
const relatedId = utils.get(record, this.foreignKey) | ||
if (relatedId !== undefined) { | ||
if (relatedId !== undefined && relatedId !== null) { | ||
return this.relatedCollection.get(relatedId) | ||
@@ -22,0 +22,0 @@ } |
@@ -1093,3 +1093,3 @@ import utils from './utils' | ||
if (hasSet) { | ||
target.set(target, prop, utils.plainCopy(schema['default']), { silent: true }) | ||
target.set(prop, utils.plainCopy(schema['default']), { silent: true }) | ||
} else { | ||
@@ -1096,0 +1096,0 @@ utils.set(target, prop, utils.plainCopy(schema['default'])) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2770263