ahaostudy opened a new pull request, #366: URL: https://github.com/apache/dubbo-go-hessian2/pull/366
<!-- Thanks for sending a pull request! --> **What this PR does**: fix issue where Decoder panics when decoding an Object containing a Map with int8/int16 as key or value type. **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. _If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_* --> https://github.com/kitex-contrib/codec-dubbo/issues/55 **Special notes for your reviewer**: Currently, dubbo-go-hessian2 is unable to correctly decode `object` that contain `map` with `int8` / `int16` as keys or values, resulting in a panic during decoding. I am a developer from the Kitex framework, and currently, [DubboCodec](https://github.com/kitex-contrib/codec-dubbo) is using dubbo-go-hessian2 as its encoder/decoder. I hope to fix this issue through this PR, allowing us to support decoding of `int8` and `int16` types.  **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". --> ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
