Skip to content

Explore injecting where argument via variables #126

Closed
@igdianov

Description

@igdianov

so, that where argument can be constructed dynamically at runtime if needed, i.e.

query($where: HumansCriteriaExpression) {
  Humans (where: $where) {
    select {
      id(orderBy: ASC)
      name
    }
  }
}

with query variables:

{
  "where": { 
    "appearsIn": {
      "IN": ["A_NEW_HOPE", "EMPIRE_STRIKES_BACK"]}
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions