birkir / gatsby-source-prismic-graphql

Gatsby source plugin for Prismic GraphQL
MIT License
137 stars 75 forks source link

[BUG] Can't get more than 20 results #236

Closed tahmid-shahriar closed 4 years ago

tahmid-shahriar commented 4 years ago

Querying with _allDocuments is not giving more than 20 results, ignores first

query allPages {
  prismic {
    _allDocuments(first: 30) {
      edges {
        node {
          _meta {
            uid
          }
        }
      }
    }
  }
}

version: "gatsby-source-prismic-graphql": "^3.6.2"

tahmid-shahriar commented 4 years ago

This is not a bug. https://prismic.io/docs/graphql/query-the-api/paginate-your-results