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
This is a copy of the third issue collected in #1206 to enable separate tracking of the bug.
The issue
When a validation error in one of the inner validators of deep_iterable or deep_mapping occurs, an exception is thrown but the contained message is wrong. For example, using the following code:
and calling A(["abc", ""]), you get the following error:
ValueError: Lengthof'x'mustbe=>1: 0
It rightfully complains about the length of the second item in the list, but note that the message refers to attribute name x, which is incorrect, since it's not x that is too short but one of its items.
The text was updated successfully, but these errors were encountered:
This is a copy of the third issue collected in #1206 to enable separate tracking of the bug.
The issue
When a validation error in one of the inner validators of
deep_iterable
ordeep_mapping
occurs, an exception is thrown but the contained message is wrong. For example, using the following code:and calling
A(["abc", ""])
, you get the following error:It rightfully complains about the length of the second item in the list, but note that the message refers to attribute name x, which is incorrect, since it's not
x
that is too short but one of its items.The text was updated successfully, but these errors were encountered: