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

Removing redundant call to beforeEncode() hook #2695

Merged
merged 3 commits into from
Oct 9, 2021
Merged

Conversation

Strobocop
Copy link
Sponsor Contributor

When encoding content with the default content type, there was a redundant call to the beforeEncode() hook. This removes that unnecessary call.

@0xTim
Copy link
Member

0xTim commented Oct 6, 2021

@Strobocop I haven't forgotten this it's on my todo list. Need to look into why the tests are failing for a simple change

@Strobocop
Copy link
Sponsor Contributor Author

@0xTim @calebkleveter Thanks for looking into this. If there was something wrong on my end please let me know so I can avoid causing any future issues any time I submit a PR. To be honest I hadn't tested on linux as I don't have docker running on this machine right now. Given how simple the change was, and that I didn't see anything that looked like it would cause linux specific issues, I assumed the tests I ran on macOS would suffice this once.

@0xTim
Copy link
Member

0xTim commented Oct 6, 2021

@Strobocop It's not your fault, somethings broken with an unrelated test I need to get that fixed

@0xTim 0xTim changed the title Removing redundant call to beforeEncode() hook. Removing redundant call to beforeEncode() hook Oct 9, 2021
@0xTim 0xTim added the semver-patch Internal changes only label Oct 9, 2021
@0xTim 0xTim merged commit 2711927 into vapor:main Oct 9, 2021
@VaporBot
Copy link
Contributor

VaporBot commented Oct 9, 2021

These changes are now available in 4.49.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Internal changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants