Closed
@cancan101

Description

Any reason that the return type of complete_list_value is AwaitableOrValue[Any] rather than AwaitableOrValue[List[Any]]:

def complete_list_value(
self,
return_type: GraphQLList[GraphQLOutputType],
field_nodes: List[FieldNode],
info: GraphQLResolveInfo,
path: Path,
result: Iterable[Any],
) -> AwaitableOrValue[Any]:

For comparison, execute_fields returns AwaitableOrValue[Dict[str, Any]]:

def execute_fields(
self,
parent_type: GraphQLObjectType,
source_value: Any,
path: Optional[Path],
fields: Dict[str, List[FieldNode]],
) -> AwaitableOrValue[Dict[str, Any]]: