sangria
.
schema
DefaultIntrospectionSchemaBuilder
Related Docs:
object DefaultIntrospectionSchemaBuilder
|
package schema
class
DefaultIntrospectionSchemaBuilder
[
Ctx
]
extends
IntrospectionSchemaBuilder
[
Ctx
]
Linear Supertypes
IntrospectionSchemaBuilder
[
Ctx
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DefaultIntrospectionSchemaBuilder
IntrospectionSchemaBuilder
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DefaultIntrospectionSchemaBuilder
()
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
def
additionalDirectiveDefs
:
Nil
.type
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
additionalTypeDefs
:
Nil
.type
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
argumentDescription
(
definition:
IntrospectionInputValue
)
:
Option
[
String
]
def
argumentFromInput
(
fieldDefinition:
Option
[
IntrospectionField
]
,
definition:
IntrospectionInputValue
)
:
FromInput
[
Map
[
String
,
Any
]]
def
argumentName
(
definition:
IntrospectionInputValue
)
:
String
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
buildArgument
(
fieldDefinition:
Option
[
IntrospectionField
]
,
definition:
IntrospectionInputValue
,
tpe:
InputType
[_]
,
defaultValue:
Option
[
Tuple2
[_,
ToInput
[_, _]]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
Argument
[
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildDirective
(
definition:
IntrospectionDirective
,
arguments:
List
[
Argument
[_]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
Directive
]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildEnumType
(
definition:
IntrospectionEnumType
,
values:
List
[
EnumValue
[
Any
]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
EnumType
[
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildEnumValue
(
typeDefinition:
IntrospectionEnumType
,
definition:
IntrospectionEnumValue
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
EnumValue
[
String
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildField
(
typeDefinition:
IntrospectionType
,
definition:
IntrospectionField
,
fieldType:
OutputType
[_]
,
arguments:
List
[
Argument
[_]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
Field
[
Ctx
,
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildInputField
(
typeDefinition:
IntrospectionInputObjectType
,
definition:
IntrospectionInputValue
,
tpe:
InputType
[_]
,
defaultValue:
Option
[
Tuple2
[_,
ToInput
[_, _]]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
InputField
[
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildInputObjectType
(
definition:
IntrospectionInputObjectType
,
fields: () ⇒
List
[
InputField
[_]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
InputObjectType
[
DefaultInput
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildInterfaceType
(
definition:
IntrospectionInterfaceType
,
fields: () ⇒
List
[
Field
[
Ctx
,
Any
]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
InterfaceType
[
Ctx
,
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildObjectType
(
definition:
IntrospectionObjectType
,
fields: () ⇒
List
[
Field
[
Ctx
,
Any
]]
,
interfaces:
List
[
InterfaceType
[
Ctx
,
Any
]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
ObjectType
[
Ctx
,
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildScalarType
(
definition:
IntrospectionScalarType
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
ScalarType
[
Any
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildSchema
(
definition:
IntrospectionSchema
,
queryType:
ObjectType
[
Ctx
,
Any
]
,
mutationType:
Option
[
ObjectType
[
Ctx
,
Any
]]
,
subscriptionType:
Option
[
ObjectType
[
Ctx
,
Any
]]
,
additionalTypes:
List
[
Type
with
Named
]
,
directives:
List
[
Directive
]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Schema
[
Ctx
,
Any
]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
buildUnionType
(
definition:
IntrospectionUnionType
,
types:
List
[
ObjectType
[
Ctx
, _]]
,
mat:
IntrospectionSchemaMaterializer
[
Ctx
, _]
)
:
Some
[
UnionType
[
Ctx
]]
Definition Classes
DefaultIntrospectionSchemaBuilder
→
IntrospectionSchemaBuilder
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
defaultValueParser
:
Option
[(
String
) ⇒
Try
[(
Any
,
InputUnmarshaller
[
Any
])]]
def
directiveDescription
(
definition:
IntrospectionDirective
)
:
Option
[
String
]
def
directiveName
(
definition:
IntrospectionDirective
)
:
String
def
directiveShouldInclude
(
definition:
IntrospectionDirective
)
: (
DirectiveContext
) ⇒
Boolean
def
enumValue
(
definition:
IntrospectionEnumValue
)
:
String
def
enumValueDeprecationReason
(
definition:
IntrospectionEnumValue
)
:
Option
[
String
]
def
enumValueDescription
(
definition:
IntrospectionEnumValue
)
:
Option
[
String
]
def
enumValueName
(
definition:
IntrospectionEnumValue
)
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
fieldComplexity
(
typeDefinition:
IntrospectionType
,
definition:
IntrospectionField
)
:
Option
[(
Ctx
,
Args
,
Double
) ⇒
Double
]
def
fieldDeprecationReason
(
definition:
IntrospectionField
)
:
Option
[
String
]
def
fieldDescription
(
definition:
IntrospectionField
)
:
Option
[
String
]
def
fieldName
(
definition:
IntrospectionField
)
:
String
def
fieldTags
(
typeDefinition:
IntrospectionType
,
definition:
IntrospectionField
)
:
List
[
FieldTag
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
inputFieldDescription
(
definition:
IntrospectionInputValue
)
:
Option
[
String
]
def
inputFieldName
(
definition:
IntrospectionInputValue
)
:
String
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
objectTypeInstanceCheck
(
definition:
IntrospectionObjectType
)
:
Option
[(
Any
,
Class
[_]) ⇒
Boolean
]
def
resolveField
(
typeDefinition:
IntrospectionType
,
definition:
IntrospectionField
)
: (
Context
[
Ctx
, _]) ⇒
Action
[
Ctx
, _]
def
scalarCoerceInput
(
definition:
IntrospectionScalarType
)
: (
ast.Value
) ⇒
Either
[
Violation
,
Any
]
def
scalarCoerceOutput
(
definition:
IntrospectionScalarType
)
: (
Any
,
Set
[
MarshallerCapability
]) ⇒
Any
def
scalarCoerceUserInput
(
definition:
IntrospectionScalarType
)
: (
Any
) ⇒
Either
[
Violation
,
Any
]
def
scalarComplexity
(
definition:
IntrospectionScalarType
)
:
Double
def
scalarValueInfo
(
definition:
IntrospectionScalarType
)
:
Set
[
ScalarValueInfo
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
typeDescription
(
definition:
IntrospectionType
)
:
Option
[
String
]
def
typeName
(
definition:
IntrospectionType
)
:
String
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
(
...
)
Inherited from
IntrospectionSchemaBuilder
[
Ctx
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped