-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
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
"proto: Marshal called with nil" after 1.34.0 upgrade #4094
Comments
Ideally we would like to fix this. But looking at the code, it is not very clear to us how it did not panic earlier. We would like to understand better. Were you passing a |
No, it was just pure Actually I found only case in our code and it is fixed here: temporalio/temporal#1067 ( |
This issue is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
I did my best. Please let me know if I can provide more info. |
With the standard protobuf library, we always got panics when passing
Seems like this was only a change for gogoproto users using
|
What version of gRPC are you using?
1.34.0
What did you do?
After updating to 1.34.0 we started to get
proto: Marshal called with nil
when gRPC method is called andnil
is passed as request parameter. I believe it is because of this change. I agree, it is wrong, and I am currently fixing our code base but this is sort of breaking change and needs to be called out in release notes at least.The text was updated successfully, but these errors were encountered: