17457 Make NumericArrayFilter optional

This commit is contained in:
Arthur Hanson 2024-09-11 14:02:46 -07:00 committed by Jeremy Stretch
parent af5fb8f923
commit c0d5d98df2

View File

@ -47,7 +47,7 @@ def map_strawberry_type(field):
pass
elif isinstance(field, NumericArrayFilter):
should_create_function = True
attr_type = int
attr_type = int | None
elif isinstance(field, TreeNodeMultipleChoiceFilter):
should_create_function = True
attr_type = List[str] | None