Skip to content

Backport of #23765 to v1.31.x branch#23830

Merged
stanley-cheung merged 3 commits intogrpc:v1.31.xfrom
stanley-cheung:ruby-protoc-plugin-fix-1_31
Aug 14, 2020
Merged

Backport of #23765 to v1.31.x branch#23830
stanley-cheung merged 3 commits intogrpc:v1.31.xfrom
stanley-cheung:ruby-protoc-plugin-fix-1_31

Conversation

@stanley-cheung
Copy link
Copy Markdown
Contributor

This PR is to backport the #23765 fix to the v1.31.x branch.

The main fix is to add this "." in front of the fully qualified proto message name, so that it will be converted into an absolute path starting with :: as the Ruby package name. See this comment and this comment for the rationale for the fix.

There are new tests added in the PR.

We also ran the src/ruby/pb/generate_proto_ruby.sh script to re-generate some generated files that will be updated by this protoc plugin change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang/ruby release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants