Goi

gql.goi.Goi$
object Goi

Attributes

Source
Goi.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Goi.type

Members list

Type members

Classlikes

final case class CollectedAttribute[F[_], A, B](typename: String, attribute: GoiAttribute[F, A, B])

Attributes

Source
Goi.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class DecodedIds[F[_], V, K](gid: CollectedAttribute[F, V, K], keys: NonEmptyList[(String, K)])

Attributes

Source
Goi.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def addId[F[_], A, B](t: Type[F, A], resolver: Resolver[F, A, B], fromIds: NonEmptyList[B] => IorT[F, String, Map[B, Ior[String, A]]])(implicit F: Sync[F], idCodec: IDCodec[B]): Type[F, A]

Attributes

Source
Goi.scala
def addId[F[_], A](t: Interface[F, A]): Interface[F, A]

Attributes

Source
Goi.scala
def addIdWith[F[_], A, B](t: Type[F, A], resolver: Resolver[F, A, B], fromIds: NonEmptyList[B] => IorT[F, String, Map[B, Ior[String, A]]], specify: Node => Option[A])(implicit F: Sync[F], idCodec: IDCodec[B]): Type[F, A]

Attributes

Source
Goi.scala
def addSchemaGoi[F[_] : Sync, Q, M, S](schema: SchemaShape[F, Q, M, S]): SchemaShape[F, Q, M, S]

Attributes

Source
Goi.scala
def collectAttributes[F[_]](shape: SchemaShape[F, _, _, _]): Either[Type[String], List[CollectedAttribute[F, _, _]]]

Attributes

Source
Goi.scala
def decodeIds[F[_] : Sync, G[_] : NonEmptyTraverse](ids: G[String], lookup: Map[String, CollectedAttribute[F, _, _]], schemaTypes: Set[String]): IorT[F, String, List[DecodedIds[F, _, _]]]

Attributes

Source
Goi.scala
def decodeInput[A](typename: String, codec: IDCodec[A], elems: Array[String]): ValidatedNec[String, A]

Attributes

Source
Goi.scala
def encodeString[A](a: A)(implicit idCodec: IDCodec[A]): String

Attributes

Source
Goi.scala
def getId[F[_]](id: String)(implicit F: Sync[F]): IorT[F, String, (String, List[String])]

Attributes

Source
Goi.scala
def makeId[F[_]](typename: String, id: String)(implicit F: Sync[F]): F[String]

Attributes

Source
Goi.scala
def makeImpl[A](specify: Node => Option[A]): Implementation[Nothing, A, Node]

Attributes

Source
Goi.scala
def node[F[_] : Parallel, Q, M, S](shape: SchemaShape[F, Q, M, S], xs: List[CollectedAttribute[F, _, _]])(implicit evidence$5: Parallel[F], F: Sync[F]): SchemaShape[F, Q, M, S]

Attributes

Source
Goi.scala
def runIds[F[_] : Parallel, G[_] : NonEmptyTraverse](ids: G[String], lookup: Map[String, CollectedAttribute[F, _, _]], schemaTypes: Set[String])(implicit evidence$3: Parallel[F], evidence$4: NonEmptyTraverse[G], F: Sync[F]): IorT[F, String, G[Option[Ior[String, Node]]]]

Attributes

Source
Goi.scala
def validateFor[F[_], Q, M, S](shape: SchemaShape[F, Q, M, S], instances: List[CollectedAttribute[F, _, _]]): List[String]

Attributes

Source
Goi.scala