-
Notifications
You must be signed in to change notification settings - Fork 309
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
ttnpb imports invalid version of grpc-gateway #5986
Comments
Using the workaround mentioned, I'm getting another error:
Which can be worked around be adding the following to go.sum:
|
References #2798. Indeed, we're currently using a lot of replacements due to our |
The v3.25 branch now contains the While the upgrade simplifies the dependencies significantly, it is not fully in place. The move away from Examples of how this mind numbing find and replace went can be found in the commits at #6032 - there is a commit for each type. |
Closing this issue as this individual error is no longer relevant on the current head branch. The clean protobuf publication discussion is to follow in the linked issue. |
Summary
When one imports the golang types from ttnpb into a project, there is an error with the required grpc-gateway version.
One can work around this issue by overriding the grpc-gateway version in your go.sum file:
Steps to Reproduce
Current Result
Expected Result
One should be able to import
go.thethings.network/lorawan-stack/v3/pkg/ttnpb
without any special overrides.Relevant Logs
No response
URL
No response
Deployment
The Things Stack Community Edition
The Things Stack Version
3.23.1
Client Name and Version
No response
Other Information
No response
Proposed Fix
Use grpc-gateway release from upstream.
Contributing
Code of Conduct
The text was updated successfully, but these errors were encountered: