sangria.schema.Field
See theField companion object
case class Field[Ctx, Val](name: String, fieldType: OutputType[_], description: Option[String], arguments: List[Argument[_]], resolve: Context[Ctx, Val] => Action[Ctx, _], deprecationReason: Option[String], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double], manualPossibleTypes: () => List[ObjectType[_, _]], astDirectives: Vector[Directive], astNodes: Vector[AstNode]) extends Named, HasArguments, HasDeprecation, HasAstInfo
Value parameters
- description
-
A description of this schema element that can be presented to clients of the GraphQL service.
- resolve
-
A function that maps the context of this field definition to an action that retrieves the field's data.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HasAstInfotrait HasDeprecationtrait HasArgumentstrait Namedtrait HasDescriptionclass Objecttrait Matchableclass Any
Members list
In this article