gatsby-source-graphql only shows 10 results

 https://stackoverflow.com/questions/63179173/gatsby-source-graphql-only-shows-10-results

I was experiencing the same issue with Graphql only returning the first 10 comments. I was able to get around this issue by specifying a first value in my query.

query {
    comments (first: 500) {
      ...
    }
}

The current GraphQL Edge schema likely has 10 as a default value for first.

Không có nhận xét nào:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...