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
]
,
astNodes:
Vector
[
AstNode
]
)
extends
Named
with
HasArguments
with
HasDeprecation
with
HasAstInfo
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
HasAstInfo
,
HasDeprecation
,
HasArguments
,
Named
,
HasDescription
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Field
Serializable
Serializable
Product
Equals
HasAstInfo
HasDeprecation
HasArguments
Named
HasDescription
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
]
,
astNodes:
Vector
[
AstNode
]
)
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
]
Definition Classes
Field
→
HasAstInfo
val
astNodes
:
Vector
[
AstNode
]
Definition Classes
Field
→
HasAstInfo
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
@throws
(
...
)
val
complexity
:
Option
[(
Ctx
,
Args
,
Double
) ⇒
Double
]
val
deprecationReason
:
Option
[
String
]
Definition Classes
Field
→
HasDeprecation
val
description
:
Option
[
String
]
Definition Classes
Field
→
HasDescription
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
fieldType
:
OutputType
[_]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
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
Annotations
@HotSpotIntrinsicCandidate
()
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
def
rename
(
newName:
String
)
:
Field
.this.type
Definition Classes
Field
→
Named
val
resolve
: (
Context
[
Ctx
,
Val
]) ⇒
Action
[
Ctx
, _]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tags
:
List
[
FieldTag
]
def
toAst
:
FieldDefinition
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
()
:
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
]
Deprecated Value Members
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@Deprecated
@deprecated
@throws
(
classOf[java.lang.Throwable]
)
Deprecated
(Since version )
see corresponding Javadoc for more information.
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
HasAstInfo
Inherited from
HasDeprecation
Inherited from
HasArguments
Inherited from
Named
Inherited from
HasDescription
Inherited from
AnyRef
Inherited from
Any
Ungrouped