Skip to content

Simple entity quries

Igor Dianov edited this page May 29, 2024 · 3 revisions

You can fetch a single node using a simple object query.

For Example:

query {
  Author(id: 1) {
    name
  }
}

Will return:

{
  "data": {
    "Author": {
      "name": "Leo Tolstoy"
    }
  }
}
Clone this wiki locally