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, when a valid-result converting incoming string to IRange<T> happens, the binding context is set to the value of the RangeResult<T> and not its value—IRange<T>.
This leads to the ASP.NET Core framework reporting an error when taking RangeResult<T> and trying to make it IRange<T>.
{
"message": "Validation Failed",
"errors": [
{
"message": "The value provided was not valid",
"messages": [
"The value provided was not valid"
],
"field": "..."
}
]
}
The text was updated successfully, but these errors were encountered:
Ref.
filter/src/Range.Web.Http.AspNetCore/RangeModelBinder`1.cs
Line 42 in 1275d47
Currently, when a valid-result converting incoming
string
toIRange<T>
happens, the binding context is set to the value of theRangeResult<T>
and not its value—IRange<T>
.This leads to the ASP.NET Core framework reporting an error when taking
RangeResult<T>
and trying to make itIRange<T>
.The text was updated successfully, but these errors were encountered: