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

Less generation when no messages, enums, or extensions. #1703

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

thomasvl
Copy link
Collaborator

There's no need to generate any import directives or the version check when the file is completely empty, and with different access levels on imports that can get flagged with a newer compilers.

This is a common case when a .proto file contains a service.

Regenerate to get the one file update.

There's no need to generate any `import` directives or the version check
when the file is completely empty, and with different access levels on
imports that can get flagged with a newer compilers.

This is a common case when a .proto file contains a service.

Regenerate to get the one file update.
@thomasvl thomasvl requested a review from allevato August 28, 2024 16:34
@thomasvl
Copy link
Collaborator Author

@gjcairo fyi

@thomasvl thomasvl merged commit 58db47c into apple:main Aug 28, 2024
10 checks passed
@thomasvl thomasvl deleted the generation_edge_cases branch August 28, 2024 16:51
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