introproventures / graphql-jpa-query

Generate GraphQL Query Api for your JPA Entity Models
https://github.com/introproventures/graphql-jpa-query
Apache License 2.0
196 stars 54 forks source link

Fix where query criteria with multiple associations joins #485

Closed igdianov closed 6 months ago

igdianov commented 6 months ago
query {
  Tasks(
    where: {
      status: { EQ: COMPLETED }
      AND: [
        { variables: { name: { EQ: "variable1" }, value: { EQ: "data" } } }
        { variables: { name: { EQ: "variable2" }, value: { EQ: true } } }
      ]
    }
  ) {
    select {
      id
      status
      variables {
        name
        value
      }
    }
  }
}