sangria.schema.DefaultIntrospectionSchemaBuilder
See theDefaultIntrospectionSchemaBuilder companion object
class DefaultIntrospectionSchemaBuilder[Ctx] extends IntrospectionSchemaBuilder[Ctx]
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
def argumentFromInput(fieldDefinition: Option[IntrospectionField], definition: IntrospectionInputValue): FromInput[Map[String, Any]]
def buildArgument(fieldDefinition: Option[IntrospectionField], definition: IntrospectionInputValue, tpe: InputType[_], defaultValue: Option[(, ToInput[_, _])], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[Argument[Any]]
def buildDirective(definition: IntrospectionDirective, arguments: List[Argument[_]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[Directive]
def buildEnumType(definition: IntrospectionEnumType, values: List[EnumValue[Any]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[EnumType[Any]]
def buildEnumValue(typeDefinition: IntrospectionEnumType, definition: IntrospectionEnumValue, mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[EnumValue[Any]]
def buildField(typeDefinition: IntrospectionType, definition: IntrospectionField, fieldType: OutputType[_], arguments: List[Argument[_]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[Field[Ctx, Any]]
def buildInputField(typeDefinition: IntrospectionInputObjectType, definition: IntrospectionInputValue, tpe: InputType[_], defaultValue: Option[(, ToInput[_, _])], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[InputField[Any]]
def buildInputObjectType(definition: IntrospectionInputObjectType, fields: () => List[InputField[_]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[InputObjectType[DefaultInput]]
def buildInterfaceType(definition: IntrospectionInterfaceType, fields: () => List[Field[Ctx, Any]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[InterfaceType[Ctx, Any]]
def buildInterfaceType(definition: IntrospectionInterfaceType, fields: () => List[Field[Ctx, Any]], interfaces: List[InterfaceType[Ctx, Any]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[InterfaceType[Ctx, Any]]
def buildObjectType(definition: IntrospectionObjectType, fields: () => List[Field[Ctx, Any]], interfaces: List[InterfaceType[Ctx, Any]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[ObjectType[Ctx, Any]]
def buildScalarType(definition: IntrospectionScalarType, mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[ScalarType[Any]]
def buildSchema(definition: IntrospectionSchema, queryType: ObjectType[Ctx, Any], mutationType: Option[ObjectType[Ctx, Any]], subscriptionType: Option[ObjectType[Ctx, Any]], additionalTypes: List[Type & Named], directives: List[Directive], mat: IntrospectionSchemaMaterializer[Ctx, _]): Schema[Ctx, Any]
def buildUnionType(definition: IntrospectionUnionType, types: List[ObjectType[Ctx, _]], mat: IntrospectionSchemaMaterializer[Ctx, _]): Option[UnionType[Ctx]]
def fieldComplexity(typeDefinition: IntrospectionType, definition: IntrospectionField): Option[(Ctx, Args, Double) => Double]
def objectTypeInstanceCheck(definition: IntrospectionObjectType): Option[(Any, Class[_]) => Boolean]
def resolveField(typeDefinition: IntrospectionType, definition: IntrospectionField): Context[Ctx, _] => Action[Ctx, _]
def scalarCoerceOutput(definition: IntrospectionScalarType): (Any, Set[MarshallerCapability]) => Any
In this article