支持 beforeUpdate#31
Merged
jysperm merged 2 commits intoleancloud:masterfrom Oct 21, 2015
jysperm:before-update
Merged
Conversation
Contributor
|
@jysperm 这里我不是很赞同,因为 |
Contributor
|
👍 我没有问题了,请陈伟确认,尽快发布吧 @sdjcw |
Contributor
|
我也没什么问题了。确认测试没问题就合并吧。 |
Contributor
|
记得正式发布后补充文档 @jysperm |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在 classHook(371 行)加了一个针对 beforeUpdate 的处理,是希望让 _updatedKeys 可以通过
object.updatedKeys而不是object.get('_updatedKeys')来访问,这样看起来才像一个特殊的字段,而不是对象的属性。#25