Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flagMessage json 序列化无null值的bug #1120

Merged
merged 1 commit into from
Nov 8, 2018
Merged

flagMessage json 序列化无null值的bug #1120

merged 1 commit into from
Nov 8, 2018

Conversation

rewerma
Copy link
Collaborator

@rewerma rewerma commented Nov 8, 2018

No description provided.

@agapple agapple merged commit 4faf542 into alibaba:master Nov 8, 2018
@agapple
Copy link
Member

agapple commented Nov 8, 2018

tks

@jiacheo
Copy link
Contributor

jiacheo commented Nov 8, 2018

JSON序列化无null值我觉得不算bug吧,更多是编程习惯的问题,可以开放式的选择。 多个null,消息体也会大一些。

@rewerma
Copy link
Collaborator Author

rewerma commented Nov 8, 2018

修改的时候是通过old中的值来获取修改字段的, 如果原始值为null 那么old也将没有值

@jiacheo
Copy link
Contributor

jiacheo commented Nov 8, 2018

有道理!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants