-
Notifications
You must be signed in to change notification settings - Fork 127
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
Release 2.9.3 breaks serialization for me #616
Comments
Was the generated code using a newer version of the plugin/runtime (>2.9.1) than what you're using at runtime (<=2.9.1)? I had raised this concern in the PR where this change was introduced but I assumed that combination was rather unlikely. |
I am pretty sure I was updating both runtime and the environment I was using to generate the code in lockstep. I will double check this tomorrow. If that actually is the issue that's my bad I definitely intended to update it in lockstep |
Sorry for the bother, I noticed that I did in fact not propgate the update of the protobuf-ts/runtime to the correct subfolder. Works as expected with both generation and runtime on 2.9.3 |
One way to cover all the bases here would be for the generated code to also perform the |
I want to add that this was caused by our (I think) unusual way of structuring our repos. I do think that hitting this is in fact an edge case :) |
Hey @jcready I just ran into this issue today with a project I work on https://github.com/wowsims/sod after we upgraded from 2.9.1 to 2.9.4. I'm not 100% sure but I wonder if it's the backwards-compatibility issue you mentioned in your PR? I also just wanted to add that downgrading back to
but the
|
Hi,
I updated from version 2.9.1 to 2.9.3 which broke serialization for me. Specifically the change from:
to
seems to be the culprit, because
this.messagePrototype
seems to be undefinedThe text was updated successfully, but these errors were encountered: