Skip to content

Commit

Permalink
FIX model instantiate with all fields updated
Browse files Browse the repository at this point in the history
  • Loading branch information
stombre committed Mar 22, 2020
1 parent 8823594 commit b76b2d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/model/baseModel.classFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ const injectIlorm = ilorm => {
instance[property] = rawInstance[property];
}

this[LIST_UPDATED_FIELDS] = [];

return instance;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ilorm",
"version": "0.3.1",
"version": "0.3.2",
"description": "Core package of ilorm ORM",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b76b2d6

Please sign in to comment.