Git Product home page Git Product logo

Comments (13)

hardchor avatar hardchor commented on June 9, 2024

@hekike @gergelyke Are you guys still developing this? Feels like the project is already dead before it even got off the ground...

from graffiti-mongoose.

gergelyke avatar gergelyke commented on June 9, 2024

hi @hardchor,

thanks for raising them! in the past weeks sadly we did not have the time that this project would deserve - could you help us out and send a PR with these?

from graffiti-mongoose.

hardchor avatar hardchor commented on June 9, 2024

I'm still at the crossroads which route to take:

  • mongo - mongoose - graffiti or
  • SQL - bookshelf - graphql-bookshelf

Before I invest any significant amount of time, how likely are you to continue this project, i.e. are you going to be using it in production apps or is it all still a bit in the air?

Also, mutation is a biggie - whilst not being a completely blocker for this ticket, not having mutations would certainly leave a big gap in any Relay integration. https://github.com/RisingStack/graffiti-mongoose/milestones/support%20mutation%20queries

from graffiti-mongoose.

gergelyke avatar gergelyke commented on June 9, 2024

We definitely want to use it in production applications - with that said, I would go for finishing up one graffiti adapter implementation first, this one, so we will have a reference when working with others, like bookshelf.

What do you think?

from graffiti-mongoose.

hardchor avatar hardchor commented on June 9, 2024

Totally agreed. Could have a bit of a catch up on Skype if you fancy.

from graffiti-mongoose.

gergelyke avatar gergelyke commented on June 9, 2024

in which timezone are you in? let's find a time which can work.

cc-ing in @hekike

from graffiti-mongoose.

hardchor avatar hardchor commented on June 9, 2024

GMT. Added you both to https://gitter.im/hardchor/graffiti

from graffiti-mongoose.

parkan avatar parkan commented on June 9, 2024

Given that the cursors are specified as opaque, I don't see why cursors and globally unique IDs need be the same. The global id could take the format of $collection:$_id and cursors could be $_id if indexing into a collection (data structured with parent references) or maybe even numerical offsets if indexing into a subelement of child references.

EDIT: globalIdField used here works nicely, wrapping the same information https://github.com/RisingStack/graffiti-mongoose/pull/27/files#diff-55c36325e001f1671db3cf8a5b686a2aR59

from graffiti-mongoose.

 avatar commented on June 9, 2024

@parkan They are opaque, but as you already noted, encoded as a globally unique ID (just a simple base64 encoding)

from graffiti-mongoose.

tothandras avatar tothandras commented on June 9, 2024

We have added the node(ID!) endpoint and pagination support and we are currently working on the mutation support. The new version is published on npm (^3.0.0). Your feedback is welcome!

from graffiti-mongoose.

gergelyke avatar gergelyke commented on June 9, 2024

I guess we can close this, right?

from graffiti-mongoose.

hardchor avatar hardchor commented on June 9, 2024

I think we're still some way off full relay compatibility:

  • viewer endpoint
  • mutations

from graffiti-mongoose.

tothandras avatar tothandras commented on June 9, 2024

The viewer endpoint and mutations have already been added. Check out the latest version!

from graffiti-mongoose.

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.