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

Turn the RequestIDProvider enum into a struct #839

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jun 11, 2020

Motivation:

Public enums are bad for API evolution. There's no reason the
RequestIDProvider can't be a struct instead.

Modifications:

  • Turn RequestIDProvider into a struct

Result:

  • Lower risk of API breakage

Motivation:

Public enums are bad for API evolution. There's no reason the
RequestIDProvider can't be a struct instead.

Modifications:

- Turn RequestIDProvider into a struct

Result:

- Lower risk of API breakage
@glbrntt glbrntt added nio ⚠️ semver/major Breaks existing public API. labels Jun 11, 2020
@glbrntt glbrntt requested a review from Lukasa June 11, 2020 09:44
Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Nice, LGTM.

@glbrntt glbrntt merged commit 31a03ce into grpc:master Jun 11, 2020
@glbrntt glbrntt deleted the gb-request-id branch June 11, 2020 10:13
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