akka / akka/akka-http

Consider adding a textual hint to `withSizeLimit` to aid users debugging where the limit is

Open
#2,192 0 comments 0 reactions 0 assignees View on GitHub
1 - triaged t:core
Dominant language
Scala
Stars
1.4k
Forks
584
Avg merge
14h 33m
Merged PRs (30d)
24

Description

With #2185 there are even more ways how the entity size limits can be set. The default `EntityStreamSizeException` that is thrown by `Limitable` tries to give the user a hint how to change the limit but isn't precise in where it came from. Maybe this could be improved.

Contributor guide

Open the contributing guide

Research direction

Start by reading Limitable and the EntityStreamSizeException mentioned in the issue, then review the additional entity-size-limit paths introduced by #2185. The change is complete when the exception hint identifies where the active limit came from and helps users choose the relevant way to change it.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.