Giter VIP home page Giter VIP logo

Comments (3)

chrissm79 avatar chrissm79 commented on June 21, 2024

@Zn4rK Originally, I had the connection registrar take in the name of the connection you wanted to create (i.e., UserTasksConnection). But after some refactoring, I passed the instance instead and just performed a instanceof check in the ConnectionRegistrar.

I didn't have the previous method documented, so I'd say it should be pretty safe to allow a FQC. If you want to provide a PR that would be great! Otherwise, I'll try to get this worked in soon. Thanks for the feedback!

from lighthouse.

Zn4rK avatar Zn4rK commented on June 21, 2024

Sorry, I thought I was going to have more time this week. I think the ConnectionRegistrar is in need of a refactor generally.

I won't have time to look at this specific issue the next week, so If you manage to squeeze it in before me, go ahead. I'll keep you updated if I find the time.

from lighthouse.

chrissm79 avatar chrissm79 commented on June 21, 2024

With v2.0 you can use the paginate or hasMany directives with the type argument set to relay to auto-generate connections. Let me know if you experience any issues.

from lighthouse.

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.