You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (as of 2.15.0), violation of StreamReadConstraints is indicated by message like:
String length (50000001) exceeds the maximum length (5000000)
which does not much indication as to where the setting might be defined or changeable.
Let's add some more information; for example:
String value length (50000001) exceeds the maximum length (5000000 from `StreamReadConstraints.getMaxStringLength()`)
NOTE: not adding in 2.15.1 since Exception messages are part of API and while this seems generally useful I want to avoid potential breakage in patch release. But at the same time it's a minor change so do not think it requires waiting for major version (since timing of 3.0 is still unclear).
The text was updated successfully, but these errors were encountered:
Currently (as of 2.15.0), violation of
StreamReadConstraints
is indicated by message like:which does not much indication as to where the setting might be defined or changeable.
Let's add some more information; for example:
NOTE: not adding in 2.15.1 since Exception messages are part of API and while this seems generally useful I want to avoid potential breakage in patch release. But at the same time it's a minor change so do not think it requires waiting for major version (since timing of 3.0 is still unclear).
The text was updated successfully, but these errors were encountered: