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 not writing class name first when encoding pojo map #320

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

zhengzepeng
Copy link

@zhengzepeng zhengzepeng commented Jul 15, 2022

What this PR does:

if map is pojo, write class name first

Which issue(s) this PR fixes:

#319

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2022

Codecov Report

Merging #320 (2437f11) into master (83d6845) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
+ Coverage   70.47%   70.50%   +0.03%     
==========================================
  Files          27       27              
  Lines        3119     3123       +4     
==========================================
+ Hits         2198     2202       +4     
  Misses        687      687              
  Partials      234      234              
Impacted Files Coverage Δ
map.go 59.58% <100.00%> (+0.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83d6845...2437f11. Read the comment docs.

@AlexStocks
Copy link
Contributor

@zhengzepeng pls add an ut for this pr.

@zhengzepeng
Copy link
Author

@zhengzepeng pls add an ut for this pr.

ok

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

@AlexStocks AlexStocks merged commit 303698c into apache:master Jul 19, 2022
@AlexStocks
Copy link
Contributor

@zhengzepeng I have merged your pr. pls upgrade the hessian-go version in dubbo-go and dubbo-go-samples.

@wongoo wongoo changed the title if map is pojo, write class name first fix not writing class name first when encoding pojo map Jul 22, 2022
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.

4 participants