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

Add protoglobal.DisableGlobalFiles #3343

Closed
wants to merge 1 commit into from
Closed

Add protoglobal.DisableGlobalFiles #3343

wants to merge 1 commit into from

Conversation

bufdev
Copy link
Member

@bufdev bufdev commented Sep 25, 2024

For discussion, primarily with @jhump.

@oliversun9 and @doriable have suggested doing effectively this, as we keep on running into issues with the global registry storing state. We don't want to call in an init function, so that we can make sure this happens after all packages are imported. A brief audit of protobuf-go says that this shouldn't break anything, and that makes sense. Honestly, nothing would make me happier, but this is obviously scary. Thoughts?

@bufdev bufdev requested a review from jhump September 25, 2024 23:29
Copy link
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedSep 25, 2024, 11:29 PM

@bufdev bufdev closed this Sep 26, 2024
@bufdev bufdev deleted the protoglobal branch September 26, 2024 13:04
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