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

fix issue 149 - embed struct #150

Merged
merged 3 commits into from
Feb 27, 2020
Merged

fix issue 149 - embed struct #150

merged 3 commits into from
Feb 27, 2020

Conversation

micln
Copy link
Contributor

@micln micln commented Feb 21, 2020

What this PR does:

  • support extends to anonymouse field in go

Which issue(s) this PR fixes:

Fixes #149

Special notes for your reviewer:

how it works ?

findname will find field in all fields first, then find field in anonymous field, so that it can compatibility preview version

Does this PR introduce a user-facing change?:


@micln micln closed this Feb 21, 2020
@micln micln reopened this Feb 21, 2020
object.go Show resolved Hide resolved
Copy link
Contributor

@wongoo wongoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wongoo
Copy link
Contributor

wongoo commented Feb 27, 2020

after reconsidering, I suggest not try to ignore fields when not find,which can be submitted in another PR, keep this pr focused. @micln

@wongoo
Copy link
Contributor

wongoo commented Feb 27, 2020

@fangyincheng review this pr when having time

Copy link
Contributor

@fangyincheng fangyincheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wongoo wongoo merged commit 5c30aa7 into apache:master Feb 27, 2020
zhaoyunxing92 pushed a commit that referenced this pull request Sep 4, 2021
* fix issue 149 - embed struct

* remove serialUID

* mapping extends to all feilds
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.

go serialization & java unserialization issue
3 participants