FederationV2

caliban.federation.v2x.FederationV2
See theFederationV2 companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

case class GQLExtend() extends GQLDirective

Attributes

Inherited from:
FederationDirectives
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLExternal() extends GQLDirective

Attributes

Inherited from:
FederationDirectives
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLInaccessible() extends GQLDirective

Attributes

Inherited from:
FederationDirectivesV2
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLKey(fields: String, resolvable: Boolean) extends GQLDirective

Attributes

Inherited from:
FederationDirectives
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLOverride(from: String) extends GQLDirective

Attributes

Inherited from:
FederationDirectivesV2
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLProvides(fields: String) extends GQLDirective

Attributes

Inherited from:
FederationDirectives
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLRequires(fields: String) extends GQLDirective

Attributes

Inherited from:
FederationDirectives
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLShareable() extends GQLDirective

Attributes

Inherited from:
FederationDirectivesV2
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLTag(name: String) extends GQLDirective

Attributes

Inherited from:
FederationDirectivesV2
Supertypes
trait Serializable
trait Product
trait Equals
class GQLDirective
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
object Key

Attributes

Inherited from:
FederationDirectives
Supertypes
class Object
trait Matchable
class Any
object Override

Attributes

Inherited from:
FederationDirectivesV2
Supertypes
class Object
trait Matchable
class Any
object Provides

Attributes

Inherited from:
FederationDirectives
Supertypes
class Object
trait Matchable
class Any
object Requires

Attributes

Inherited from:
FederationDirectives
Supertypes
class Object
trait Matchable
class Any
object Tag

Attributes

Inherited from:
FederationDirectivesV2
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

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. This variant will allow the gateway to query for entities by resolver.

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.

Value parameters

original

The original schema

otherResolvers

Additional resolvers to supply

resolver

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

Attributes

Inherited from:
FederationSupport
def federate[R](original: GraphQL[R]): GraphQL[R]

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.

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.

Value parameters

original

The original schema

Attributes

Returns

A new schema which has been augmented with federation types

Inherited from:
FederationSupport
def federated[R](resolver: EntityResolver[R], others: EntityResolver[R]*): GraphQLAspect[Nothing, R]

Attributes

Inherited from:
FederationSupport

Inherited fields

val Extend: Directive

Attributes

Inherited from:
FederationDirectives
val External: Directive

Attributes

Inherited from:
FederationDirectives
val Inaccessible: Directive

Attributes

Inherited from:
FederationDirectivesV2
val Shareable: Directive

Attributes

Inherited from:
FederationDirectivesV2
lazy val federated: GraphQLAspect[Nothing, Any]

Attributes

Inherited from:
FederationSupport