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

fix: fix PHP readonly legacy files for nested messages #10361

Merged
merged 1 commit into from Aug 4, 2022

Conversation

haberman
Copy link
Member

@haberman haberman commented Aug 4, 2022

Cherry-pick of: #10320

@haberman haberman requested a review from fowles August 4, 2022 20:13
@fowles
Copy link
Member

fowles commented Aug 4, 2022

Can you update the changelog too?

@haberman
Copy link
Member Author

haberman commented Aug 4, 2022

I think the release tooling will add the changelog entry, when "release notes: yes" is added?

std::string LegacyReadOnlyGeneratedClassFileName(const DescriptorType* desc,
const Options& options) {
std::string php_namespace = RootPhpNamespace(desc, options);
std::string LegacyReadOnlyGeneratedClassFileName(std::string php_namespace,
Copy link
Member

Choose a reason for hiding this comment

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

this should have been const std::string& parameter... ah well

@haberman haberman merged commit 23097c4 into protocolbuffers:21.x Aug 4, 2022
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.

None yet

3 participants