Open intellix opened 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.
SGTM but do you have any plans outside of Relay to support pagination?
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.
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?
@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?
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?