-
Notifications
You must be signed in to change notification settings - Fork 1.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
Internals change breaks pre-generated file #649
Comments
Looking at the changelog - should we be pinning to a specific version of the runtime or at least to a specific minor? |
Static code is still somewhat in flux due to being an entirely new feature. Hence, compatibility between minor version updates (i.e. 6.4 to 6.5) can't really be guaranteed. In such a case I'd recommend to depend on In the case of 6.4 to 6.5, converters have been upgraded to first class codegen citizens. While |
Cool, thanks. We'll investigate moving code generation to startup and for now we'll narrow it down to |
Also going to think about semver-compatible versioning again with the next breaking change. If you see a protobuf.js v7 in the near future, you'll know. |
protobuf.js version:
protobufjs@6.5.0
The following code has been generated by a previous version (I think
6.4.5
):Running with the latest version of protobufjs, I get the following error:
The text was updated successfully, but these errors were encountered: