intuit / intuit/graphql-filter-java
Filtering for null values
- 主要言語
- Java
- スター
- 73
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello,
I am trying to write a GraphQL filter to filter for nulls.
```
{
events(
filter: {
bookingId: { eq: null }
}
) {
id
booking {
id
}
}
}
```
But when I'm generating the filter expression, the SQL expression looks like `"WHERE bookingId = 'null'"` instead of `bookingId = null` without the single quotes.
Can this be fixed or can you point to where the toString is coming from?
コントリビューションガイド
調査の方向性
Start by tracing how the GraphQL filter input for eq: null becomes a filter expression and then SQL, focusing on where the null value is converted to text. Done means the generated SQL no longer quotes the null value and the behavior is verified for this filter case.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- graphql, java
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100