ExactSelectionResult type
Result shape when every selected field is a known literal: the selected scalar fields plus each selected relationship, narrowed to its nested fields.
type ExactSelectionResult<T, TFields> = Simplify<
GraphQLPick<
T,
Exclude<Extract<keyof T, TFields[number]>, NestedSelectionRoots<TFields>>
> &
NestedSelectionResult<T, TFields>
>