intuit / intuit/graphql-filter-java

Filtering for null values

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
73
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.