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

Change default of useAccessLevelOnImports to always be false #1711

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

gjcairo
Copy link
Contributor

@gjcairo gjcairo commented Sep 9, 2024

After some discussion on grpc-swift after updating to the latest protobuf version and using the new UseAccessLevelOnImports option, we came to the conclusion that it's safer (and more consistent) to always default to false, regardless of the language version being used on plugin compilation.

See grpc/grpc-swift#2047 for more information.

This PR removes the compiler flag conditionals and always defaults the plugin option to false. It's now strictly an opt-in-only feature to include access level modifiers on imports on generated code.

@thomasvl thomasvl merged commit dea247b into apple:main Sep 9, 2024
10 checks passed
@gjcairo gjcairo deleted the change-default branch September 11, 2024 10:08
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.

3 participants