Skip to content
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

refactor: move go2proto configuration from flags to comment directives #3832

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

alecthomas
Copy link
Collaborator

This makes the source files more self-contained, which is nice, but is also a step towards being able to support multiple packages - when we import a Go package with directives, we will know that it is a protobuf package, and we won't generate types for it in the current package.

Next I'll move the definition of the "roots" into code.

This makes the source files more self-contained, which is nice, but is
also a step towards being able to support multiple packages - when we
import a Go package with directives, we will know that it is a protobuf
package, and we won't generate types for it in the current package.
This was referenced Dec 20, 2024
@alecthomas alecthomas merged commit 9927522 into main Dec 20, 2024
64 checks passed
@alecthomas alecthomas deleted the aat/go2proto-pkg-directive-comments branch December 20, 2024 01:24
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.

1 participant