We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What happened: In the previous implementation, dubbo-go-hessian2 would encode nil values of a specified type as empty bytes.
For example:
var null *int = nil e := NewEncoder() e.Encode(null) len(e.buffer) == 0 // true
However, the expected encoding for nil values should be []byte("N"), regardless of the type of nil value.
What you expected to happen: It encodes nil values of any type as []byte("N").
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What happened:
In the previous implementation, dubbo-go-hessian2 would encode nil values of a specified type as empty bytes.
For example:
However, the expected encoding for nil values should be []byte("N"), regardless of the type of nil value.
What you expected to happen:
It encodes nil values of any type as []byte("N").
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: