datocms / product-roadmap

This project is now discontinued. For feature requests, please use our community forum.
https://community.datocms.com/
19 stars 1 forks source link

Querying more than the GraphQL API request limit should error out #158

Closed lunelson closed 5 years ago

lunelson commented 5 years ago

Describe the bug Querying any collection of records via graphQL silently fails to return more than 100 results.

To Reproduce

{
  allPosts(first: 1000) {
    id
  }
}

Expected behavior Querying for more than the limit amount (currently 100) should error out. A silent failure is a bummer.

matjack1 commented 5 years ago

Thank you for reporting this. You are right that we should notify the user about the limit, I'll add this to our development backlog.

sebbean commented 5 years ago

ahem charge more ahem

stefanoverna commented 5 years ago

Fixed!