Connection

sangria.relay.Connection$
See theConnection companion trait
object Connection

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Connection.type

Members list

Type members

Classlikes

object Args

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Args.type

Value members

Concrete methods

def connectionFromFutureSeq[T](seq: Future[Seq[T]], args: ConnectionArgs)(implicit ec: ExecutionContext): Future[Connection[T]]
def connectionFromFutureSeq[T](seq: Future[Seq[T]], args: ConnectionArgs, sliceInfo: SliceInfo)(implicit ec: ExecutionContext): Future[Connection[T]]
def connectionFromSeq[T](seq: Seq[T], args: ConnectionArgs): Connection[T]
def connectionFromSeq[T](arraySlice: Seq[T], args: ConnectionArgs, sliceInfo: SliceInfo): Connection[T]
def cursorForObjectInConnection[T, E](coll: Seq[T], obj: E): Option[String]
def cursorToOffset(cursor: String): Option[Int]
def definition[Ctx, Conn[_], Val](name: String, nodeType: OutputType[Val], edgeFields: => List[Field[Ctx, Edge[Val]]], connectionFields: => List[Field[Ctx, Conn[Val]]])(implicit connEv: ConnectionLike[Conn, PageInfo, Val, Edge[Val]], classEv: ClassTag[Conn[Val]]): ConnectionDefinition[Ctx, Conn[Val], Val, Edge[Val]]
def definitionWithEdge[Ctx, P <: PageInfo, Conn[_], Val, E <: Edge[Val]](name: String, nodeType: OutputType[Val], edgeFields: => List[Field[Ctx, E]], connectionFields: => List[Field[Ctx, Conn[Val]]], pageInfoType: Option[OutputType[P]])(implicit connEv: ConnectionLike[Conn, P, Val, E], classEv: ClassTag[Conn[Val]], classE: ClassTag[E], classP: ClassTag[P]): ConnectionDefinition[Ctx, Conn[Val], Val, E]
def isValidNodeType[Val](nodeType: OutputType[Val]): Boolean
def offsetToCursor(offset: Int): String

Concrete fields

val CursorPrefix: String