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

Make nodes an optional return #447

Open
queicherius opened this issue May 5, 2022 · 0 comments
Open

Make nodes an optional return #447

queicherius opened this issue May 5, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@queicherius
Copy link
Member

It would be nice to be able to opt out of the nodes return value for use-cases where it's not needed. Requires a different function return type based on an options property.

Workaround

const result = await findManyCursorConnection(/* ... */)
delete result.nodes

Original conversion #432 (comment) and following.

@queicherius queicherius added enhancement New feature or request help wanted Extra attention is needed labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant