Git Product home page Git Product logo

Comments (2)

Redmega avatar Redmega commented on July 18, 2024

@rdela

@hmeissner: https://github.com/GraphCMS/gatsby-source-graphcms#length-must-be-aliased will also be gone

Can you explain what you meant by this?

It seems to me even if we paginate the query and concatenate results, any fields used in a model called length will still cause issues for gatsby.

from gatsby-source-graphcms.

rdela avatar rdela commented on July 18, 2024

Looks like this is a different answer for Prisma now than Graphcool? How does this effect beta / #32 I wonder? @hmeissner @belazer @mlukaszczyk

Sounds like we could just set a higher limit like 5000 if we wanted? Does anyone think it is worth examining __meta / totalCount or better to just document?

Note that by default, Prisma returns a maximum of 1000 nodes. This can be overridden by setting the pagination parameters accordingly. If you do not set any pagination parameters, Prisma will set a limit of 1000.

Queries | Prisma Docs | #pagination

Older links
Readme: Does not support over 1000 records per __type

They removed the quote we have in readme from Query API | Graphcool Docs | #pagination:

If you need to query more nodes than that, you can use first and skip to seek through the different pages. You can also include multiple versions of the same field with different pagination parameter in one query using GraphQL Aliases.

Not sure what that means: whether this is no longer a limitation for Graphcool endpoints and it now mirrors Prisma here? I can ask Nilan, but thought I would post here first in case anyone knew already.

I also need an endpoint with 1000+ of some model to test with, going to ask around in Slack about that.

from gatsby-source-graphcms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.