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

Deprecate ContentCodec API with offest & length #1440

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

tkountis
Copy link
Contributor

@tkountis tkountis commented Mar 16, 2021

Motivation:
Deprecate the ContentCodec APIs that receive offset & length. User's can slice if needed.

Modifications:
Deprecate API & relevant changes to accommodate the change.

Result:
Less API surface.

@tkountis tkountis self-assigned this Mar 16, 2021
@tkountis
Copy link
Contributor Author

Build failure due #1323

Copy link
Member

@idelpivnitskiy idelpivnitskiy left a comment

Choose a reason for hiding this comment

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

One comment for NettyChannelContentCodec impl then LGTM

@tkountis tkountis merged commit 1306f84 into apple:main Mar 16, 2021
@tkountis tkountis deleted the impr/deprecate_codec_withoffset branch March 16, 2021 21:48
bondolo pushed a commit to bondolo/servicetalk that referenced this pull request Mar 16, 2021
* Deprecate ContentCodec API with offset & length
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