Skip to content

Commit 5a0eebb

Browse files
fix: ConversionError message
1 parent 00db74f commit 5a0eebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_pydantic/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def find_graphene_type(
247247
return List
248248
else:
249249
raise ConversionError(
250-
f"Don't know how to convert the Pydantic field {field!r} ({field.type_})"
250+
f"Don't know how to convert the Pydantic field {field!r} ({field.annotation})"
251251
)
252252

253253

0 commit comments

Comments
 (0)