neo4j-graphql / neo4j-graphql-js

NOTE: This project is no longer actively maintained. Please consider using the official Neo4j GraphQL Library (linked in README).
Other
609 stars 147 forks source link

Relay support #101

Open intellix opened 6 years ago

intellix commented 6 years ago

Currently using a couple of other helper libs like graphql-sequelize (MySQL) and was curious about Graph DBs and how well they support graphql integration.

Looking through this lib I'm not seeing any Relay support or references to it anywhere in documentation, code or even issues.

Do you have any plans to add support for Relay?

johnymontana commented 6 years ago

Hey @intellix - we don't currently support Relay as we haven't had many requests for it. We may consider adding support for Relay if the community continues to request this feature. I'll leave the issue open to gauge interesting in Relay support.

If you would like to see Relay support added please follow the issue by clicking the 👍 above.

intellix commented 6 years ago

SGTM but do you have any plans outside of Relay to support pagination?

johnymontana commented 6 years ago

Currently, we add first and offset arguments to the auto-generated queries and mutations, both at the top operation level and for relationship fields. This maps to LIMIT and SKIP in the generated Cypher query.

ShadowRanger commented 3 years ago

Hi @johnymontana, is there any update on this? I understand that Relay may not be as possible as Apollo, but at the end of the day it is a solid GraphQL client that is developed by the same creator of GraphQL, Facebook, so it is a client that is likely to be around for a long time and may increase in popularity down the line. I feel like it would be a client worth providing support for in neo4j-graphql-js. It also seems that there are a number of people who support this idea as per the reactions, but I am sure others would appreciate it as an option too. With this in mind, what exactly would be involved in adding this support? Would it mainly be around supporting the Relay GraphQL Server Specification such as with the schema?

ShadowRanger commented 3 years ago

@johnymontana In the meantime, do you have any recommendations on how one could go about implementing support themselves for Relay while still using neo4j-graphql-js? Could this be achieved in combination with some other library?

michaeldgraham commented 3 years ago

https://github.com/neo4j-graphql/neo4j-graphql-js/issues/608