Out of 300 global security teams, 297 see their growth stalled by security threats. See how the winning 3 break through barriers with the State of Security 2026.

  • Resolve relations in nested GraphQL query

    Changes in:gapi

    It's now possible to resolve one more level of relations with Storyblok's GraphQL API. This lets you receive your data with less requests.

    The example below shows a query where you have an author single option field inside the page item. The author content type has also a single option field called "group" which can be resolved with the resolve_relations parameter.

    {
      PageItem(id: "test") {
        id
        content {
          author(resolve_relations: "author.group") {
            content
            name
          }
        }
      }
    }