GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Add support for jackson field ids by brenbar · Pull Request #868 · msgpack/msgpack-java Conversation
|
|
@komamitsu @xerial Can CI be run on this PR to show the failing test? Then I'll follow-up with the implementation changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@komamitsu @xerial Another CI run please 🙏 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🔨 Build failed with test showcasing new edge case. Will now demonstrate passing test with implementation changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@komamitsu @xerial This is ready for another CI run to showcase the new test passing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @Override | ||
| public void writeFieldId(long id) throws IOException | ||
| { | ||
| addKeyNode(id); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@komamitsu @xerial For backwards compatibility, I imagine we need some sort of feature flag that defaults to the prior implementation. Do you guys have any suggestions for how that flag should be defined? Should I just use the MessagePack.PackerConfig, or should I pass it directly from the MessagePackFactory to the MessagePackGenerator?
| addKeyNode(id); | |
| if (writeIntegerMapKeysAsStringKeys) { | |
| super.writeFieldId(id); | |
| } else { | |
| addKeyNode(id); | |
| } |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, for the delayed reply. PackerConfig is for the core configuration and shouldn't be used for jackson-dataformat-msgpack. I think it's okay to pass the flag like reuseResource.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@komamitsu @xerial This is ready for a final draft review. I added a test to show backwards compatibility with new feature flag. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@komamitsu Thanks for the review. All comments addressed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@brenbar Thanks! LGTM 👍 After reviewing all the changes, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@komamitsu I think your feedback is fair 😅 Ready again for review 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.