sangria.schema.Field$
See theField companion class
object Field
Attributes
Members list
Concise view
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def apply[Ctx, Val, Res, Out](name: String, fieldType: OutputType[Out], description: Option[String], arguments: List[Argument[_]], resolve: Context[Ctx, Val] => Action[Ctx, Res], possibleTypes: => List[PossibleObject[_, _]], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double], deprecationReason: Option[String], astDirectives: Vector[Directive])(implicit ev: ValidOutType[Res, Out]): Field[Ctx, Val]
def subs[Ctx, Val, StreamSource, Res, Out](name: String, fieldType: OutputType[Out], description: Option[String], arguments: List[Argument[_]], resolve: Context[Ctx, Val] => StreamSource, possibleTypes: => List[PossibleObject[_, _]], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double], deprecationReason: Option[String], astDirectives: Vector[Directive])(implicit stream: SubscriptionStreamLike[StreamSource, Action, Ctx, Res, Out]): Field[Ctx, Val]