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: preserve original proto field name #570

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ii64
Copy link
Contributor

@ii64 ii64 commented Apr 12, 2024

Summary

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
    • This change has an associated test.
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@ii64 ii64 force-pushed the feat/original-case branch from a675d78 to e90c193 Compare April 12, 2024 23:24
@Gobot1234
Copy link
Collaborator

Is this something that google does, I'd be quite surprised considering no-one's every asked for this before

@@ -250,6 +256,8 @@ class OutputTemplate:
services: List["ServiceCompiler"] = field(default_factory=list)
imports_type_checking_only: Set[str] = field(default_factory=set)
pydantic_dataclasses: bool = False
use_optionals: Optional[Literal["all"]] = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please split this behaviour out into another PR

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