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

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

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. object EntityResolver
  6. object Federation
  7. object Key
    Definition Classes
    Federation
  8. object Provides
    Definition Classes
    Federation
  9. object Requires
    Definition Classes
    Federation

Inherited from Federation

Inherited from AnyRef

Inherited from Any

Ungrouped