Closed jaydensmith closed 1 year ago
I ran into this bug as well. Given that the documentation states that filtering, pagination and ordering are working and all of the examples define ordering via the decorator I would say it's a fairly big/high-priority bug...
In the example you can pass
order
into the Django type decorator, the result however has the order argument missing from the schema. Filter and pagination work fine.https://github.com/strawberry-graphql/strawberry-graphql-django/blob/674c7b914611e0cc798d0b9480a207220b2d3433/examples/django/app/types.py#L46-L52
Currently I am working around this by defining the order at the field definition: