AstSchemaMaterializer

sangria.schema.AstSchemaMaterializer
See theAstSchemaMaterializer companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def buildArgument(origin: MatOrigin, typeDefinition: Either[TypeSystemDefinition, ObjectLikeType[Ctx, _]], fieldDef: Option[FieldDefinition], value: InputValueDefinition): Option[Argument[Any]]
def buildDefault(defaultValue: Option[Value]): Option[(Value, ToInput[Nothing, Value])]
def buildField(origin: MatOrigin, typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], extensions: Vector[ObjectLikeTypeExtensionDefinition], field: FieldDefinition): Option[Field[Ctx, Any]]
def buildType(origin: MatOrigin, definition: TypeDefinition): Option[Type & Named]
def extend[Val](schema: Schema[Ctx, Val]): Schema[Ctx, Val]
def extendArgument(origin: MatOrigin, tpe: Option[ObjectLikeType[Ctx, _]], field: Field[Ctx, Any], argument: Argument[_]): Argument[Any]
def extendEnumType(origin: MatOrigin, tpe: EnumType[_]): EnumType[_]
def extendField(origin: MatOrigin, tpe: Option[ObjectLikeType[Ctx, _]], field: Field[Ctx, _]): Field[Ctx, Any]
def extendFields(origin: MatOrigin, tpe: ObjectLikeType[Ctx, _], extensions: Vector[ObjectLikeTypeExtensionDefinition]): List[Field[Ctx, Any]]
def extendInputField(origin: MatOrigin, tpe: InputObjectType[_], field: InputField[_]): InputField[Any]
def extendInterfaceType(origin: MatOrigin, tpe: InterfaceType[Ctx, _]): InterfaceType[Ctx, Any]
def extendInterfaces(origin: MatOrigin, tpe: ObjectType[Ctx, _], extensions: Vector[ObjectTypeExtensionDefinition]): List[InterfaceType[Ctx, Any]]
def extendObjectType(origin: MatOrigin, tpe: ObjectType[Ctx, _]): ObjectType[Ctx, Any]
def extendScalarAlias(origin: MatOrigin, alias: ScalarAlias[Any, Any]): ScalarAlias[Any, Any]
def extendType(origin: MatOrigin, existingType: Type & Named): Type & Named
def extendUnionType(origin: MatOrigin, tpe: UnionType[Ctx]): UnionType[Ctx]
def findUnusedTypes(schema: Schema[_, _], referenced: Set[String]): Vector[Type & Named]
def getInputType(origin: MatOrigin, tpe: Type, replacementNamedType: Option[InputType[_]], optional: Boolean): InputType[_]
def getInterfaceType(origin: MatOrigin, tpe: NamedType): InterfaceType[Ctx, Any]
def getNamedType(origin: MatOrigin, typeName: String, location: Option[AstLocation]): Type & Named
def getObjectType(origin: MatOrigin, tpe: NamedType): ObjectType[Ctx, Any]
def getOutputType(origin: MatOrigin, tpe: Type, replacementNamedType: Option[OutputType[_]], optional: Boolean): OutputType[_]
def getScalarType(origin: MatOrigin, tpe: NamedType): ScalarType[Any]
def getTypeFromDef[T <: Type & Named](origin: MatOrigin, tpe: T): T
def validateExtensions(schema: Schema[Ctx, _]): Vector[Violation]

Concrete fields

lazy val build: Schema[Ctx, Any]
lazy val definitions: Vector[Named]