graphql-filter-java icon indicating copy to clipboard operation
graphql-filter-java copied to clipboard

Filtering for null values

Open tinawu0603 opened this issue 3 years ago • 0 comments

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?

tinawu0603 avatar Aug 19 '22 18:08 tinawu0603