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

Expose plugin protos for C# #10244

Merged
merged 2 commits into from
Jul 14, 2022
Merged

Conversation

jskeet
Copy link
Contributor

@jskeet jskeet commented Jul 12, 2022

The first commit here is just tidying up, effectively, and doesn't require a release note.

The second commit is the important one, exposing the plugin protos under the namespace Google.Protobuf.Compiler. This will be a semi-breaking change (generating a warning) for any project which already generates their own local copy of this proto, but is easily fixed by simply removing the local copy.

(The proto has been in production use for a long time now.)
This used to be infeasible as we didn't expose the descriptor protos, but it's fine now.

Tested against https://github.com/googleapis/gapic-generator-csharp by removing the local version there.

Fixes protocolbuffers#5007.
Copy link

@amanda-tarafa amanda-tarafa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jskeet
Copy link
Contributor Author

jskeet commented Jul 12, 2022

@fowles: I appear not to have write access to the repo any more - are you happy to merge this now it's green? (We can work out access separately...)

@deannagarcia deannagarcia merged commit 021787f into protocolbuffers:main Jul 14, 2022
@jskeet jskeet deleted the plugin-protos branch July 15, 2022 11:35
bithium pushed a commit to bithium/protobuf that referenced this pull request Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants