Packages

p

caliban

federation

package federation

Linear Supertypes
Federation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. federation
  2. Federation
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package tracing

Type Members

  1. trait EntityResolver[-R] extends AnyRef

    A resolver which is used when attempting to materialize types from their "any" representation

  2. trait Federation extends AnyRef
  3. case class GQLExtend() extends GQLDirective with Product with Serializable
    Definition Classes
    Federation
  4. case class GQLExternal() extends GQLDirective with Product with Serializable
    Definition Classes
    Federation
  5. case class GQLKey(fields: String) extends GQLDirective with Product with Serializable
    Definition Classes
    Federation
  6. case class GQLProvides(fields: String) extends GQLDirective with Product with Serializable
    Definition Classes
    Federation
  7. case class GQLRequires(fields: String) extends GQLDirective with Product with Serializable
    Definition Classes
    Federation

Value Members

  1. val Extend: Directive
    Definition Classes
    Federation
  2. val External: Directive
    Definition Classes
    Federation
  3. def federate[R](original: GraphQL[R], resolver: EntityResolver[R], otherResolvers: EntityResolver[R]*): GraphQL[R]

    Accepts a GraphQL as well as entity resolvers in order to support more advanced federation use cases.

    Accepts a GraphQL as well as entity resolvers in order to support more advanced federation use cases. This variant will allow the gateway to query for entities by resolver.

    original

    The original schema

    resolver

    A type which can resolve a single type by a key which is provided per type using the @key directive

    otherResolvers

    Additional resolvers to supply

    Definition Classes
    Federation
  4. def federate[R](original: GraphQL[R]): GraphQL[R]

    Accepts a GraphQL and returns a GraphQL with the minimum settings to support federation.

    Accepts a GraphQL and returns a GraphQL with the minimum settings to support federation. This variant does not provide any stitching capabilities, it merely makes this schema consumable by a graphql federation gateway.

    original

    The original schema

    returns

    A new schema which has been augmented with federation types

    Definition Classes
    Federation
  5. def federated[R](resolver: EntityResolver[R], others: EntityResolver[R]*): GraphQLAspect[Nothing, R]
    Definition Classes
    Federation
  6. lazy val federated: GraphQLAspect[Nothing, Any]
    Definition Classes
    Federation
  7. object EntityResolver
  8. object Federation
  9. object Key
    Definition Classes
    Federation
  10. object Provides
    Definition Classes
    Federation
  11. object Requires
    Definition Classes
    Federation

Inherited from Federation

Inherited from AnyRef

Inherited from Any

Ungrouped