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

include go_features.proto in WKT #3551

Closed
terinjokes opened this issue Dec 17, 2024 · 2 comments · Fixed by #3553
Closed

include go_features.proto in WKT #3551

terinjokes opened this issue Dec 17, 2024 · 2 comments · Fixed by #3553
Labels
Feature New feature or request

Comments

@terinjokes
Copy link

Feature

protocompile was updated to include "go_features.proto" in the standard WKTs in bufbuild/protocompile#295, but it is still not included in this repository's datawkt. This prevents opting into the Opaque API when using edition 2023.

@terinjokes terinjokes added the Feature New feature or request label Dec 17, 2024
@doriable
Copy link
Member

The change has been merged and will be included in the next release!

@terinjokes
Copy link
Author

Thanks, I can confirm that adding the settings to enable OPAQUE (or Hybrid) modes works as expected.

import "google/protobuf/go_features.proto";
option features.(pb.go).api_level = API_OPAQUE;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants