From 5a032c234574ea0f5df7fd94bed24b8bf0ad1f75 Mon Sep 17 00:00:00 2001 From: Griffin Ellis Date: Mon, 7 Oct 2024 21:27:10 +0100 Subject: [PATCH] Align strawberry resolver with expected return type --- netbox/extras/graphql/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/graphql/types.py b/netbox/extras/graphql/types.py index a43f80cc3..a53c7bed3 100644 --- a/netbox/extras/graphql/types.py +++ b/netbox/extras/graphql/types.py @@ -84,7 +84,7 @@ class CustomFieldType(ObjectType): class CustomFieldChoiceSetType(ObjectType): choices_for: List[Annotated["CustomFieldType", strawberry.lazy('extras.graphql.types')]] - extra_choices: List[str] | None + extra_choices: List[List[str]] | None @strawberry_django.type(