Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions graphene_django_extras/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ def convert_field_to_list_or_connection(
def dynamic_type():
if input_flag and not nested_field:
return DjangoListField(
ID, required=is_required(field) and input_flag == "create",
ID,
required=is_required(field) and input_flag == "create",
description=field.help_text or field.verbose_name,
)
else:
Expand All @@ -339,7 +340,8 @@ def dynamic_type():
)
else:
return DjangoListField(
_type, required=is_required(field) and input_flag == "create"
_type,
required=is_required(field) and input_flag == "create",
description=field.help_text or field.verbose_name,
)

Expand Down