rest-client-sdk
Advanced tools
Comparing version 2.0.0-rc.12 to 2.0.0-rc.13
@@ -5,2 +5,8 @@ # Changelog | ||
## 2.0.0-rc.13 | ||
Fix issue when setting a ManyToOne relatossue when setting a ManyToOne relation to `null`n to `null` | ||
## 2.0.0-rc.12 | ||
add a function to test mapping validity | ||
## 2.0.0-rc.10 + 2.0.0-rc.11 | ||
@@ -7,0 +13,0 @@ deserialize + normalize item in unitofwork |
{ | ||
"name": "rest-client-sdk", | ||
"version": "2.0.0-rc.12", | ||
"version": "2.0.0-rc.13", | ||
"description": "Rest Client SDK for API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -129,2 +129,8 @@ import { isImmutable } from 'immutable'; | ||
if (oldValue !== newValue) { | ||
if (newValue === null) { | ||
dirtyFields[key] = null; | ||
return dirtyFields; | ||
} | ||
if (typeof oldValue === 'string' || typeof newValue === 'string') { | ||
@@ -131,0 +137,0 @@ dirtyFields[key] = newValue; |
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
1863415
19887