Default pagination for 'makeAugmentedSchema'

Hi everyone, does somebody knows if it's possible to set a default limit(first) on queries

for example

const schema = makeAugmentedSchema({
  config: {
    query: {
      defaultFirst: 1000(to response the first 1K)
      exclude: ['RatingCount'],
    mutation: {
      exclude: ['RatingCount'],

Hello Csanchezz, welcome to the community! The short answer is no, you'd need to specify that number in your GraphQL query with a filter, or in your schema. Those are included out of the box and you can limit them up however you like, as well apply other filters.

1 Like