graphprotocol / graphprotocol/graph-node
Feature request: Filter based on failure of some criteria and using multiple filters in the same query
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 3.2k
- フォーク
- 1.1k
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 1
説明
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
It is not possible to use a global _not while filtering to negate a condition, just like described here:
https://hasura.io/docs/1.0/graphql/manual/queries/query-filters.html#filter-based-on-failure-of-some-criteria-not
It would be interesting to have this feature in combination with 'and' or 'or' operators (which are not implemented as well) to create arbitrarily complex boolean expressions involving multiple filtering criteria.
I believe this could help some specific filtering use-cases.
Thank you
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では GraphQL クエリフィルターに言及し、Hasura のフィルタリングに関するドキュメントへのリンクを示していますが、リポジトリのファイル、テスト、エントリーポイントについては何も指定していません。まず graph-node における GraphQL フィルターのパースとクエリ構築のエントリーポイントを見つけ、次に否定および組み合わせた and/or 条件(ネストしたブール式を含む)を対象とするテストを定義してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- graphql, rust
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100