def edges_field_ast(field)
      f_ast = field_ast(field)
      return nil if f_ast.nil?
      node_fields = [node_field_ast(field.type.unwrap.get_field('node'))]
      if f_ast.respond_to?(:merge) # GraphQL-Ruby 1.9+
        f_ast.merge(selections: f_ast.selections + node_fields)
      else
        f_ast.selections.concat(node_fields)
        f_ast
      end
    end
def edges_field_ast(field)
      f_ast = field_ast(field)
      return nil if f_ast.nil?
      node_fields = [node_field_ast(field.type.unwrap.get_field('node'))]
      if f_ast.respond_to?(:merge) # GraphQL-Ruby 1.9+
        f_ast.merge(selections: f_ast.selections + node_fields)
      else
        f_ast.selections.concat(node_fields)
        f_ast
      end
    end
Make a field AST for an edges field.

 field - The GraphQL::Field instance to make the fragment for.

 Returns a GraphQL::Language::Nodes::Field instance.