Skip to content

Commit 617089d

Browse files
authored
Merge pull request #63 from kodyliszek/patch-1
fix/convert_pydantic_field_updated
2 parents 480086b + 20215b5 commit 617089d

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
@@ -126,7 +126,7 @@ def convert_pydantic_field(
126126
"""
127127
declared_type = getattr(field, "type_", None)
128128
field_kwargs.setdefault(
129-
"type_",
129+
"type",
130130
convert_pydantic_type(
131131
declared_type, field, registry, parent_type=parent_type, model=model
132132
),

0 commit comments

Comments
 (0)