Open
Description
When using the connectionPlugin total count:
import { connectionPlugin } from 'nexus'
connectionPlugin({
cursorFromNode: (node) => node.id,
disableBackwardPagination: true,
extendConnection: {
totalCount: { type: nonNull('Int'), requireResolver: false },
},
}),
args have no inferred type in totalCount, which results in typing errors, which are only resolved when casting the args to any or using @ts-ignore. Is there a workaround to this, or is this potentially a known bug?
Metadata
Metadata
Assignees
Labels
No labels