prisma-relay-cursor-connection
prisma-relay-cursor-connection copied to clipboard
Make `nodes` an optional return
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 https://github.com/devoxa/prisma-relay-cursor-connection/pull/432#issuecomment-1116266226 and following.