We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3f413 commit 5d85c4bCopy full SHA for 5d85c4b
pyproject.toml
@@ -1,7 +1,7 @@
1
[tool.poetry]
2
name = "strawberry-graphql-django"
3
packages = [{ include = "strawberry_django" }]
4
-version = "0.5.0"
+version = "0.5.1"
5
description = "Strawberry GraphQL Django extension"
6
authors = ["Lauri Hintsala <[email protected]>"]
7
repository = "https://github.com/strawberry-graphql/strawberry-graphql-django"
strawberry_django/ordering.py
@@ -64,7 +64,7 @@ def arguments(self) -> List[StrawberryArgument]:
64
arguments = []
65
if not self.base_resolver:
66
order = self.get_order()
67
- if order and order is not UNSET:
+ if order and order is not UNSET and self.is_list:
68
arguments.append(argument("order", order))
69
return super().arguments + arguments
70
0 commit comments