Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kjdelisle
Copy link
Contributor

@kjdelisle kjdelisle commented Aug 23, 2017

Description

If the current scope (this) does not define a .getUpdateOnlyProperties
function, the updateOnlyProps value will now be set to false.

Related issues

Fixes regression in #3548

If the current scope does not define a getUpdateOnlyProperties
function, the updateOnlyProps value will now be set to false.
@kjdelisle kjdelisle merged commit 8bff145 into master Aug 23, 2017
@kjdelisle kjdelisle deleted the persisted-model/fix-updateonly-props-check branch August 23, 2017 14:48
@BendingBender
Copy link

Same problem still persists in lib/model.js:764

@supermafete
Copy link

Same problem in lib/model.js:764. I think must be reviewed.

@lehni
Copy link
Contributor

lehni commented Oct 9, 2017

I agree with @BendingBender and @supermafete, the problem also exists on Model and can be fixed in the exact same way:

const updateOnlyProps = this.getUpdateOnlyProperties();

I will create a follow-up PR now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants