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

Simplify naming of code gen types #2116

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Nov 13, 2024

Motivation:

A number of types are nested within 'CodeGenerationRequest' which make them verbose to type out and a bit of a pain to work with.

Modification:

Remove the nesting of types.

Result:

Easier types to work with.

Motivation:

A number of types are nested within 'CodeGenerationRequest' which make
them verbose to type out and a bit of a pain to work with.

Modification:

Remove the nesting of types.

Result:

Easier types to work with.
@glbrntt glbrntt added the ⚠️ semver/major Breaks existing public API. label Nov 13, 2024
@glbrntt glbrntt requested a review from gjcairo November 13, 2024 18:46
@glbrntt
Copy link
Collaborator Author

glbrntt commented Nov 13, 2024

API breaks are expected:

3 breaking changes detected in GRPCCodeGen:
  💔 API breakage: struct CodeGenerationRequest.Dependency has been removed
  💔 API breakage: struct CodeGenerationRequest.ServiceDescriptor has been removed
  💔 API breakage: struct CodeGenerationRequest.Name has been removed

@glbrntt glbrntt merged commit c41e0a7 into grpc:main Nov 14, 2024
42 of 45 checks passed
@glbrntt glbrntt deleted the v2/improve-names branch November 14, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ semver/major Breaks existing public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants