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 BodyBytes functions #159

Closed
wants to merge 2 commits into from
Closed

Conversation

WillSewell
Copy link
Contributor

We have been bitten by subtle bugs that are caused by this function being called on a value (and not a pointer to a value), combined with consume == false.

Because of this we think the convenience of these functions are not worth the risk.

@WillSewell WillSewell changed the title Drepcate BodyBytes functions Deprecate BodyBytes functions Jan 19, 2023
We have been bitten by subtle bugs that are caused by this
function being called on a value (and not a pointer to a value),
combined with `consume == false`.

Because of this we think the convenience of these functions are
not worth the risk.
@WillSewell
Copy link
Contributor Author

Decided to just warn instead: #160

@WillSewell WillSewell closed this Jan 19, 2023
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.

None yet

1 participant