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 841d058 commit 005cacfCopy full SHA for 005cacf
src/graphql/utilities/coerce_input_value.py
@@ -28,7 +28,7 @@ def default_on_error(
28
) -> None:
29
error_prefix = "Invalid value " + inspect(invalid_value)
30
if path:
31
- error_prefix += f" at 'value{print_path_list(path)}': "
+ error_prefix += f" at 'value{print_path_list(path)}'"
32
error.message = error_prefix + ": " + error.message
33
raise error
34
tests/utilities/test_coerce_input_value.py
@@ -338,6 +338,6 @@ def throw_error_with_path():
338
[None], GraphQLList(GraphQLNonNull(GraphQLInt))
339
)
340
assert exc_info.value.message == (
341
- "Invalid value None at 'value[0]': :"
+ "Invalid value None at 'value[0]':"
342
" Expected non-nullable type Int! not to be None."
343
0 commit comments