Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to work with graphql-relay? #10

Open
mnpenner opened this issue Jul 5, 2018 · 0 comments
Open

How to work with graphql-relay? #10

mnpenner opened this issue Jul 5, 2018 · 0 comments

Comments

@mnpenner
Copy link

mnpenner commented Jul 5, 2018

I'm not actually using Relay, but I'm trying to use the Relay spec to set up pagination, as shown in the Join-Monster documentation.

They have this:

const { connectionType: CommentConnection } = connectionDefinitions({ nodeType: Comment }

But Comment would come from a .graphqls file if I'm not mistaken, so... I'm not sure how do to do this in conjunction with a schema file. Do you have any examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant