graphql-python / graphql-python/graphene
graphene_client does not return expected data queried with an order_by
- 主要言語
- Python
- スター
- 8.2k
- フォーク
- 818
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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()`.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- django, graphql, python
- 領域
- api, testing-qa
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100