Azure / Azure/data-api-builder
[Feature] Add support for case insensitive comparison in filter
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 370
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
When using filters with DAB GraphQL, it relies on case sensitive filtering with various operators such as `eq`, `neq`, `contains` etc. I would like to be able to do case insensitive comparison when using filters.
We could add support for a caseInsensitive operator along the filter operator to support this usecase.
For e.e.g
```
{
publicholis (filter: {
holidayName: {
eq: "Ascension"
caseInsensitive: true
}
}) {
items {
holidayName
countryOrRegion
}
}
}
```
コントリビューションガイド
調査の方向性
まず、既存の eq、neq、contains 演算子に対する DAB GraphQL のフィルター処理を追跡し、次に比較がサポートされているデータベースプロバイダーにどのように委譲されるかを確認します。提案された caseInsensitive フィルター動作が関連する演算子に対して一貫して定義され、影響を受ける GraphQL フィルタリングパス全体で検証されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, graphql
- 領域
- api, databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100