GraphQL: get prev / next entry from current entry (channel) Is there a way to get the prev and next entry from the current entry, when this entry is inside a channel and not a structure?
query ($id: [QueryArgument], $rel: Int) {
  entry: entry(id: $id) {
    id
    slug
    title
    uri
  }
  next: entry(nextSiblingOf: $rel) {
    id
    slug
    title
    uri
  }
  previous: entry(prevSiblingOf: $rel) {
    id
    slug
    title
    uri
  }
}

Output when the entry is in a structure:
{
  &quot;data&quot;: {
    &quot;entry&quot;: {
      &quot;id&quot;: &quot;145&quot;,
      &quot;slug&quot;: &quot;neuigkeiten&quot;,
      &quot;title&quot;: &quot;Neuigkeiten&quot;,
      &quot;uri&quot;: &quot;neuigkeiten&quot;
    },
    &quot;next&quot;: {
      &quot;id&quot;: &quot;150&quot;,
      &quot;slug&quot;: &quot;leistungen&quot;,
      &quot;title&quot;: &quot;Leistungen&quot;,
      &quot;uri&quot;: &quot;leistungen&quot;
    },
    &quot;previous&quot;: {
      &quot;id&quot;: &quot;141&quot;,
      &quot;slug&quot;: &quot;unsere-praxis&quot;,
      &quot;title&quot;: &quot;Unsere Praxis&quot;,
      &quot;uri&quot;: &quot;unsere-praxis&quot;
    }
  }
}

and the result when the entry is inside a channel:
{
  &quot;data&quot;: {
    &quot;entry&quot;: {
      &quot;id&quot;: &quot;182&quot;,
      &quot;slug&quot;: &quot;david-hellmann-1-2&quot;,
      &quot;title&quot;: &quot;David Hellmann&quot;,
      &quot;uri&quot;: &quot;team/david-hellmann-1-2&quot;
    },
    &quot;next&quot;: null,
    &quot;previous&quot;: null
  }
}

is there a way to get this data?
You should be able to use next and prev (see documentation and this issue).
query getEntryData($id: [QueryArgument]) {
  entry(id: $id) {
    id,
    slug,
    title,
    uri,
    prev(section: &quot;blog&quot;, orderBy: &quot;postDate desc&quot;) {
      id,
        slug,
        title,
        uri
    },
    next(section: &quot;blog&quot;, orderBy: &quot;postDate desc&quot;) {
      id,
        slug,
        title,
        uri
    }
  }
}