We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4cb11 commit 5afcfa8Copy full SHA for 5afcfa8
cap/modules/records/errors.py
@@ -43,7 +43,7 @@ def __init__(self, description, errors=None, **kwargs):
43
44
def get_error_path(error):
45
"""Helper to return correct error path"""
46
- if isinstance(error.validator_value, str):
+ if error.validator == "required":
47
return list(error.path) + error.validator_value
48
else:
49
return list(error.path)
0 commit comments