Skip to content

Make nodes an optional return #447

Description

@queicherius

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions