package federation
- Alphabetic
- By Inheritance
- federation
- Federation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait EntityResolver[-R] extends AnyRef
A resolver which is used when attempting to materialize types from their "any" representation
- trait Federation extends AnyRef
- case class GQLExtend() extends GQLDirective with Product with Serializable
- Definition Classes
- Federation
- case class GQLExternal() extends GQLDirective with Product with Serializable
- Definition Classes
- Federation
- case class GQLKey(fields: String) extends GQLDirective with Product with Serializable
- Definition Classes
- Federation
- case class GQLProvides(fields: String) extends GQLDirective with Product with Serializable
- Definition Classes
- Federation
- case class GQLRequires(fields: String) extends GQLDirective with Product with Serializable
- Definition Classes
- Federation
Value Members
- val Extend: Directive
- Definition Classes
- Federation
- val External: Directive
- Definition Classes
- Federation
- 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
- 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
- def federated[R](resolver: EntityResolver[R], others: EntityResolver[R]*): GraphQLAspect[Nothing, R]
- Definition Classes
- Federation
- lazy val federated: GraphQLAspect[Nothing, Any]
- Definition Classes
- Federation
- object EntityResolver
- object Federation
- object Key
- Definition Classes
- Federation
- object Provides
- Definition Classes
- Federation
- object Requires
- Definition Classes
- Federation