diff --git a/tests/experimental/pydantic_first_class/schema/test_mutation.py b/tests/experimental/pydantic_first_class/schema/test_mutation.py index ed6e60c11e..4e8eb1a053 100644 --- a/tests/experimental/pydantic_first_class/schema/test_mutation.py +++ b/tests/experimental/pydantic_first_class/schema/test_mutation.py @@ -174,6 +174,8 @@ def create_user(self, input: CreateUserInput) -> Union[UserType, UserError]: try: data = input except pydantic.ValidationError as e: + # issue: the error will never be thrown here because the validation + # happens in convert_argument args: Dict[str, List[str]] = {} for error in e.errors(): field = error["loc"][0] # currently doesn't support nested errors