GeezerVison is showing github.com — Fix source generated formatters for records with string keys by dmitry-bym · Pull Request #1798 · MessagePack-CSharp/MessagePack-CSharp
Conversation
dmitry-bym
commented
Apr 13, 2024
•
edited by AArnott
Loading
Uh oh!
There was an error while loading. Please reload this page.
Just added fix, all previous tests succesfull but for now im trying to make new ones work, so it's draft for now. Just to be clear I assume that the name of the parameter and the property are the same but in different case.
I didn't want to change logic with stringKey collection logic so i just changed key in ctor lookup, the simpliest fix i see
Fixes #1797
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
hitchhiker reacted with thumbs up emoji
AArnott
changed the title
Fix 1797
Fix source generated formatters for records with string keys
Apr 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The fix and the tests look spot on!
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@AArnott No problem! could you tell me when there will be packages with these changes i just realy need that in my project?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You can get the packages from our CI feed: https://dev.azure.com/ils0086/MessagePack-CSharp/_artifacts/feed/MessagePack-CI/NuGet/MessagePack/overview/3.0.46-alpha
Note though that as a CI feed, packages may not be retained forever, so ideally you'd consume them through your own feed that would retain it there.
I'm afraid it's still too early to issue a prerelease to nuget.org as things are really in flux in the develop branch.
I suppose if you want, given a good look at your fix, if you want to cherrypick it to our master branch I can merge it there and we can issue another release from there to nuget.org. If the test doesn't port over well, you can drop it since we have it in develop.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks! will use pack from ur ci feed
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 4, 2025
This was referenced Nov 3, 2025
This was referenced Dec 2, 2025
This was referenced Jan 28, 2026
This was referenced Nov 9, 2026
This was referenced Nov 16, 2026
This was referenced Nov 23, 2026
Reviewers
AArnott
AArnott approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|