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 compression representation. #688

Merged
merged 2 commits into from
Jan 8, 2020
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jan 8, 2020

Motivation:

Since we don't support compression, there's no need for any scaffolding
that we do have to be public. Moreover there's no need to over
complicate something which isn't yet user facing.

Modifications:

Remove CompressionMechanism and replace it with
CompressionAlgorithm; an enum containing all compression algorithms we
support. At the moment this is limited to identity.

Result:

Simpler core, smaller public API.

Motivation:

Since we don't support compression, there's no need for any scaffolding
that we do have to be public. Moreover there's no need to over
complicate something which isn't yet user facing.

Modifications:

Remove `CompressionMechanism` and replace it with
`CompressionAlgorithm`; an enum containing all compression algorithms we
support. At the moment this is limited to `identity`.

Result:

Simpler core, smaller public API.
@glbrntt glbrntt requested a review from MrMage January 8, 2020 12:00
@glbrntt glbrntt merged commit d424a7d into grpc:nio Jan 8, 2020
@glbrntt glbrntt deleted the gb-api-work-16 branch January 8, 2020 13:41
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