Skip to content

Conversation

@sandersms
Copy link
Contributor

With the introduction of the newer versions of golang >1.18 imported modules should have a go.mod file to define the language setting.

When using the generated protobuf files, the bridge code examples were failing with the newly generated files due to predeclared types which required newer versions of go. If a module doesn't have a go.mod definition with the language setting specified, it will default to 1.16. Many of the new declarations are not supported in 1.16 and the compile will fail.

Adding a go.mod file to the specific modules is required. This will be subsequently added to the other module areas in the v1/gen/go folder of the api.

…jects

Signed-off-by: Mark Sanders <marksanders194@gmail.com>
@sandersms sandersms marked this pull request as ready for review October 16, 2025 22:39
@sandersms sandersms requested a review from a team as a code owner October 16, 2025 22:39
@artek-koltun artek-koltun merged commit bf1356e into opiproject:main Oct 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modules with the generated protobuf go files need to have a go.mod file

2 participants