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

feat: Add extra_opts for C# proto generation #156

Merged
merged 1 commit into from
May 10, 2023

Conversation

jskeet
Copy link
Collaborator

@jskeet jskeet commented May 10, 2023

This will allow us to set the base_namespace (or other options) on the rare occasions when that's necessary.

This will allow us to set the base_namespace (or other options) on
the rare occasions when that's necessary.
Copy link
Contributor

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

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

This is a start, but I think you will want to also update the Bazel file generator to retain the extra_opts argument if specified in an existing Bazel file (i.e. its being regenerated). Otherwise, it will get blown away on regen. You can do it in this PR or another, I don't mind. If you want help lmk. A recent example of something similar (but for PHP) would be #155.

@jskeet
Copy link
Collaborator Author

jskeet commented May 10, 2023

I'd prefer to do it in another PR if possible, so we can get this through to unblock googleapis/google-cloud-dotnet#10322

Happy to do the follow-up early next week.

@noahdietz noahdietz merged commit d412924 into googleapis:main May 10, 2023
4 checks passed
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.

None yet

2 participants