-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
RFCA discussion about a future featureA discussion about a future feature
Description
Summary
When using t.connection, I have to always resolve hasNextPage and hasPreviousPage in resolve(), even if either of those fields isn't requested. Example: https://github.com/rauchg/next-ai-news/blob/f766e2c388c4cc9ed74e45ff71ab7fe54436d306/types/Story.ts#L49-L95
Proposed Solution
Some way to define individual resolvers for hasNextPage and hasPreviousPage that only get run if the corresponding fields are actually in the query.
lkuoch
Metadata
Metadata
Assignees
Labels
RFCA discussion about a future featureA discussion about a future feature