From 01a03e762ea5f320ee63e260ec88a713641666b6 Mon Sep 17 00:00:00 2001 From: Chris Mitchell Date: Wed, 17 Oct 2018 10:41:45 -0400 Subject: [PATCH] Add results_field_name to DjangoSerializerType factory function --- graphene_django_extras/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphene_django_extras/types.py b/graphene_django_extras/types.py index 7a725ea..c734af5 100644 --- a/graphene_django_extras/types.py +++ b/graphene_django_extras/types.py @@ -362,7 +362,8 @@ def __init_subclass_with_meta__(cls, serializer_class=None, queryset=None, only_ 'nested_fields': nested_fields, 'registry': registry, 'skip_registry': False, - 'filterset_class': filterset_class + 'filterset_class': filterset_class, + 'results_field_name': results_field_name, } output_type = registry.get_type_for_model(model)