Skip to content

Commit 9b3344d

Browse files
committed
Fix tests.
1 parent 81df2bf commit 9b3344d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphene_django/fields.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def resolve_queryset(cls, connection, queryset, info, args):
133133
def resolve_connection(cls, connection, args, iterable, max_limit=None):
134134
iterable = maybe_queryset(iterable)
135135

136+
max_limit = max_limit or 0
136137
if isinstance(iterable, QuerySet):
137138
list_length = iterable.count()
138139
list_slice_length = max(max_limit, list_length)

0 commit comments

Comments
 (0)