sangria
.
schema
Field
Related Docs:
object Field
|
package schema
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
[
ast.Directive
]
)
extends
Named
with
HasArguments
with
HasDeprecation
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
HasDeprecation
,
HasArguments
,
Named
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Field
Serializable
Serializable
Product
Equals
HasDeprecation
HasArguments
Named
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Field
(
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
[
ast.Directive
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
arguments
:
List
[
Argument
[_]]
Definition Classes
Field
→
HasArguments
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
astDirectives
:
Vector
[
ast.Directive
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
complexity
:
Option
[(
Ctx
,
Args
,
Double
) ⇒
Double
]
val
deprecationReason
:
Option
[
String
]
Definition Classes
Field
→
HasDeprecation
val
description
:
Option
[
String
]
Definition Classes
Field
→
Named
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
fieldType
:
OutputType
[_]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
manualPossibleTypes
: () ⇒
List
[
ObjectType
[_, _]]
val
name
:
String
Definition Classes
Field
→
Named
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
resolve
: (
Context
[
Ctx
,
Val
]) ⇒
Action
[
Ctx
, _]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tags
:
List
[
FieldTag
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withPossibleTypes
(
possible: () ⇒
List
[
PossibleObject
[
Ctx
,
Val
]]
)
:
Field
[
Ctx
,
Val
]
def
withPossibleTypes
(
possible:
PossibleObject
[
Ctx
,
Val
]*
)
:
Field
[
Ctx
,
Val
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
HasDeprecation
Inherited from
HasArguments
Inherited from
Named
Inherited from
AnyRef
Inherited from
Any
Ungrouped