echo icon indicating copy to clipboard operation
echo copied to clipboard

Deprecated ErrStatusRequestEntityTooLarge

Open siyul-park opened this issue 2 years ago • 3 comments

  • Deprecated ErrStatusRequestEntityTooLarge and Add ErrStatusRequestEntityTooLarge

siyul-park avatar Mar 29 '23 02:03 siyul-park

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f22ba67) 92.87% compared to head (da640e8) 92.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2426   +/-   ##
=======================================
  Coverage   92.87%   92.87%           
=======================================
  Files          39       39           
  Lines        4519     4519           
=======================================
  Hits         4197     4197           
  Misses        234      234           
  Partials       88       88           
Impacted Files Coverage Δ
echo.go 95.47% <ø> (ø)
middleware/body_limit.go 96.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Mar 29 '23 02:03 codecov[bot]

This is probably best to leave as is (until v5). Adding/exposing another public API variable, and now having to maintain two exactly same errors (with different name), has longer effect than having little bit unfortunately named variable.

@lammel what do you think?

aldas avatar Apr 15 '23 18:04 aldas

This section was revised in PR #2277 . Seems like we overlooked a chance to correct the naming there.

Not sure how often the old const is used in the wild (for me it's about 1 of ten projects) I'm not completely against adding a deprecation in echo v4, but v5 is around the corner and deprecating it would mean we could remove the wrong value with v5 already then, which seems a little to sporty. But we don't have to of course.

As it is a pretty minor change I vote for approving the change and get the errors clean.

lammel avatar Apr 17 '23 23:04 lammel