Skip to content

Question on notDistinctFrom operation #183

Open
@zacherkkila

Description

Thank you for all the work on this library! We use it quite extensively but have a few questions regarding null variables.

From the readme

To allow null and {} in inputs, use the connectionFilterAllowNullInput and connectionFilterAllowEmptyObjectInput options documented under Plugin Options. Please note that even with connectionFilterAllowNullInput enabled, null is never interpreted as a SQL NULL; fields with null values are simply ignored when resolving the query.

So if the fields are ignored, how is this intended to work with the distinctFrom, notDistinctFrom options? The operators readme in the docs appear to show support for this

image

These functions would be extremely useful for us as we often pass in null and would prefer no results, rather than every single item in the table like you see in the table below. Curious if we may be doing something wrong or if there is a way to support this functionality.

image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions