graphql-python / graphql-python/graphene
graphene_client does not return expected data queried with an order_by
- Lenguaje dominante
- Python
- Estrellas
- 8.2k
- Forks
- 818
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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()`.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- django, graphql, python
- Área
- api, testing-qa
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100