-
Notifications
You must be signed in to change notification settings - Fork 15
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
"Protobuf gencode version" warning #201
Comments
Hmm... This test should theoretically catch that. Gencode being older than runtime code should also be generally okay, as long as semver boundaries aren't being crossed. On the other hand, we set a pretty broad range for the protobuf lib, so it might be that your dependency resolution is selecting something higher than what was used to generate the code. I think the intended use case is that the version of I think the fix for you in the meantime would be to explicitly put |
I hear you, and I agree with you that the dependency range should be broad. After some digging, it turns out this is a new warning as of
Honestly, I don't think it's uncommon for a product to provide the gRPC client to its customers, so this warning is a little weird, especially for a minor version difference. If I happened to use two different gRPC clients in one project, chances are slim that they'd match protobuf gencode versions perfectly. For now though, filtering the warning or locking the protobuf version both work well for me. Thanks for the feedback! |
Just bumped from 0.16.0 to 0.18.1, and I'm getting these warnings now, looks like fallout from #191.
I don't think there's a real breaking change, so I'm just gonna filter the warning out, but it seemed worth noting.
The text was updated successfully, but these errors were encountered: