Code Monkey home page Code Monkey logo

Comments (4)

mickhansen avatar mickhansen commented on July 22, 2024

I use this library extensively with relay connections.

Have you looked at: https://github.com/mickhansen/graphql-sequelize/blob/master/docs/relay.md and https://github.com/mickhansen/graphql-sequelize/blob/master/test/integration/relay/connection.test.js?

from graphql-sequelize.

MattMcFarland avatar MattMcFarland commented on July 22, 2024

No I havent. I still want to use this library, seems like youve already solved the problems I am facing. I'm just having trouble implementing. Thanks for sharing, I'll check out those links

from graphql-sequelize.

MattMcFarland avatar MattMcFarland commented on July 22, 2024

Correct me if I'm wrong, but this library seems to create the node/connectors for you right? Does it do so by modifying the SQL queries? It might be a performance incentive to use this.

From my perspective, I started with sequelize, then graphql, then combined graphql and sequelize without this library, as implementation was followed by a tutorial not mentioning this.

I then implement graphql-relay, and get that working, but to get graphql-relay to work with sequelize was a challenge.

Now I'm kindof mulling back and fourth over whether or not to use this library.

from graphql-sequelize.

mickhansen avatar mickhansen commented on July 22, 2024

You can choose to use this library to help you with connectors.
It provides effective ordered pagination via cursors and prefetching of connections where it makes sense.

from graphql-sequelize.

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.