Skip to content

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