graphql-compose / graphql-compose/graphql-compose-mongoose

Correct(suggested) way to add new argument to find* resolvers

Open
#207 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
706
Forks
98
PR merge metrics
No merged PRs in 30d

Description

For backwards compatibility, we need to add a new argument to some of our default resolvers.
Right now, out of the box, "LIMIT" is supported-
Historically, we used "TAKE" for the same function. It would throttle the number of records returned.

What would the prescribed way to have "TAKE" also be avail to a findMany resolver, just passing the value to the resolver code in, executing the "LIMIT" function?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.