From ac215142e0d836618478a98b536d4f0817f91608 Mon Sep 17 00:00:00 2001 From: aleniashin Date: Wed, 5 Oct 2022 11:46:33 +0400 Subject: [PATCH] convert_pydantic_input_field fix: "type_" to "type" --- graphene_pydantic/converters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_pydantic/converters.py b/graphene_pydantic/converters.py index 839271c..b642e87 100644 --- a/graphene_pydantic/converters.py +++ b/graphene_pydantic/converters.py @@ -89,7 +89,7 @@ def convert_pydantic_input_field( """ declared_type = getattr(field, "type_", None) field_kwargs.setdefault( - "type_", + "type", convert_pydantic_type( declared_type, field, registry, parent_type=parent_type, model=model ),