Skip to content

Nested filters don’t work #13

Open
@flying-sheep

Description

@flying-sheep

I expected nested filters to work like hasura’s: https://hasura.io/docs/latest/queries/postgres/filters/index/#the-where-argument

Instead, when trying to filter using a nested property, I get an Invalid Operator error:

query {
  authors(where: { articles: { rating: { _gt: 4 } } }) {
    id
    name
    articles(where: { rating: { _gt: 4 } }) {
      id
      title
      rating
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions