Skip to content

Support edges with fields #51

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

Merged
merged 2 commits into from
May 5, 2020

Conversation

michaelbeaumont
Copy link
Contributor

This PR closes #50 by letting the given findMany resolver return not only a node but a data structure containing a node. See the test for an example of such a resolver.

To really be useful, this also requires a few changes in graphql-compose-mongoose/resolvers/connection to support changing the findManyResolver and adding edgeFields.

What do you think?

@nodkz nodkz merged commit d9df626 into graphql-compose:master May 5, 2020
@nodkz
Copy link
Member

nodkz commented May 5, 2020

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nodkz nodkz added the released label May 5, 2020
@nodkz
Copy link
Member

nodkz commented May 5, 2020

Thanks a lot! All changes look good.

Sorry again for the delay.
Feel free to ping me more often next time.

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

Successfully merging this pull request may close these issues.

Connection with edge data
2 participants