Skip to content

Fix handling of [DataMember] that appears on virtual and override properties#1083

Merged
AArnott merged 3 commits into
MessagePack-CSharp:masterfrom
AArnott:fix886
Oct 24, 2020
Merged

Fix handling of [DataMember] that appears on virtual and override properties#1083
AArnott merged 3 commits into
MessagePack-CSharp:masterfrom
AArnott:fix886

Conversation

@AArnott

@AArnott AArnott commented Oct 17, 2020

Copy link
Copy Markdown
Collaborator

Fixes #886

@AArnott AArnott added this to the v2.3 milestone Oct 17, 2020
@AArnott
AArnott requested a review from neuecc October 17, 2020 19:34
@AArnott AArnott self-assigned this Oct 17, 2020
@AArnott AArnott modified the milestones: v2.3, v2.2 Oct 18, 2020

@neuecc neuecc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

only for string key?

@AArnott

AArnott commented Oct 22, 2020

Copy link
Copy Markdown
Collaborator Author

Good catch. I've added tests and fixed the ordinal key case.

@neuecc

neuecc commented Oct 22, 2020

Copy link
Copy Markdown
Member

Thank you, it looks good.

@AArnott
AArnott merged commit d73b895 into MessagePack-CSharp:master Oct 24, 2020
@AArnott
AArnott deleted the fix886 branch October 24, 2020 16:11
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.

DataMember attribute for properties with inheritance

2 participants