Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

#1330
Merged
AArnott merged 3 commits into
MessagePack-CSharp:masterMessagePack-CSharp/MessagePack-CSharp:masterfrom
AArnott:fix1328AArnott/MessagePack-CSharp:fix1328Copy head branch name to clipboard
Nov 5, 2021
Merged

Fix MessagePackFormatterAttribute for many built-in formatter types#1330
AArnott merged 3 commits into
MessagePack-CSharp:masterMessagePack-CSharp/MessagePack-CSharp:masterfrom
AArnott:fix1328AArnott/MessagePack-CSharp:fix1328Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.