Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30213

GraphQL relay support

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: High High
    • 2.5.0
    • 2.5.0-beta1
    • Platform > GraphQL
    • None

    Description

      Changes lists of content items to Connections:

      {
        content {
          blogPosts(sortBy: DatePublished, last: 5) {
            pageInfo {
              hasNextPage
            }
            edges {
              cursor
              node {
                title
              }
            }
          }
        }
      }
      

      Allows to implement pagination, as well as individual items refetching.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: