Visitar URL original
Fix MessagePackFormatterAttribute for many built-in formatter types by AArnott · Pull Request #1330 · MessagePack-CSharp/MessagePack-CSharp · GitHub
Skip to content

Fix MessagePackFormatterAttribute for many built-in formatter types - #1330

Merged
AArnott merged 3 commits into
MessagePack-CSharp:masterfrom
AArnott:fix1328
Nov 5, 2021
Merged

AArnott merged 3 commits into
MessagePack-CSharp:masterfrom
AArnott:fix1328

Conversation

@AArnott

@AArnott AArnott commented Sep 22, 2021

Copy link
Copy Markdown
Collaborator

Add support for the formatter singleton pattern to MessagePackFormatterAttribute.

Without this, 90 of our 172 formatters break when used with this attribute.

Fixes #1328

@AArnott AArnott added this to the v2.3 milestone Sep 22, 2021
@AArnott
AArnott requested a review from neuecc September 22, 2021 14:51

@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.

Thank you, it's very good.
(To be honest, I was thinking public constructor for everything, but it looks good)

@AArnott

AArnott commented Nov 3, 2021

Copy link
Copy Markdown
Collaborator Author

/azp run

1 similar comment
@AArnott

AArnott commented Nov 5, 2021

Copy link
Copy Markdown
Collaborator Author

/azp run

@AArnott
AArnott force-pushed the fix1328 branch 3 times, most recently from 82683ff to e456001 Compare November 5, 2021 16:21
@AArnott
AArnott merged commit b4fb2ed into MessagePack-CSharp:master Nov 5, 2021
@AArnott
AArnott deleted the fix1328 branch November 5, 2021 17:50
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.

Many built-in formatters fail when referenced from MessagePackFormatterAttribute

2 participants