convert_selections

Return typed Selection based on node type.

Signature:

def convert_selections(info: GraphQLResolveInfo, field_nodes: Collection[GQLFieldNode]) -> List[Selection]:
...

Parameters:

  1. info:

    Type
    GraphQLResolveInfo
  2. field_nodes:

    Type
    Collection[GQLFieldNode]