Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jun 25, 2020

Motivation:

Public enums are bad for API evolution.

Modifications:

Turn the 'ConnectionTarget' enum into a struct.

Result:

API is less prone to broken in a major way.

Motivation:

Public enums are bad for API evolution.

Modifications:

Turn the 'ConnectionTarget' enum into a struct.

Result:

API is less prone to broken in a major way.
@glbrntt glbrntt added nio ⚠️ semver/major Breaks existing public API. labels Jun 25, 2020
@glbrntt glbrntt requested a review from Lukasa June 25, 2020 15:37
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.

Straightforwardly better.

@glbrntt glbrntt merged commit 823b0b7 into grpc:master Jun 26, 2020
@glbrntt glbrntt deleted the gb-conn-target branch June 26, 2020 07:24
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