Skip to content

Conversation

setrick
Copy link

@setrick setrick commented May 7, 2025

A common protobuf directory pattern as described here -> https://buf.build/docs/best-practices/style-guide/ is to have version folders.

This fix is needed to generate the correct imports. Otherwise files form different packages always start at the v1, v2 etc. level.

E.g. foo/v1/bar.proto and bar/v1/foo.proto
@so1n
Copy link
Owner

so1n commented May 24, 2025

I don't know what problems the current version will have at the moment. Can you provide a sample proto and the code generated by the current version? @setrick

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.

2 participants