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 OptionExtensions to FileDescriptor #4

Merged
merged 1 commit into from
Nov 8, 2018
Merged

Add OptionExtensions to FileDescriptor #4

merged 1 commit into from
Nov 8, 2018

Conversation

htdvisser
Copy link
Contributor

ping @pseudomuto

After starting to incorporate the changes from #2 into protoc-gen-doc, I discovered that the FileDescriptor struct doesn't have the embedded common, so the OptionExtensions were missing from it.

What is Changing?

This Pull Request adds OptionExtensions to the FileDescriptor struct and adds the appropriate code to set the field.

How is it Changing?

Basically copy-paste, except that I moved the common logic into a separate func.

What Could Go Wrong?

This change is tested in the same way as I tested #2, so should be fine.

@pseudomuto
Copy link
Owner

Thanks for the PR @htdvisser!

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.

2 participants