graphql-python / graphql-python/graphene
graphene_client does not return expected data queried with an order_by
- Langage dominant
- Python
- Étoiles
- 8.2k
- Forks
- 818
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am using pytest-django graphene-django and the first test went well, but one I add a query with an order by. I always get ascending records while I want the opposite. Moreover, in GraphQL view everything works fine when I query with an order_by.
I think that data should be returned as JSON instead of dictionaries from `graphene_client.execute()`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reproducing the order_by case through graphene_client.execute() and compare its result with the GraphQL view, as described in the issue. Trace how the client result is represented and verify that descending ordering is preserved; done means the client returns the expected ordered data and the regression is covered by a test.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- django, graphql, python
- Domaine
- api, testing-qa
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100