Class/Object

sangria.schema

ResolverBasedAstSchemaBuilder

Related Docs: object ResolverBasedAstSchemaBuilder | package schema

Permalink

class ResolverBasedAstSchemaBuilder[Ctx] extends DefaultAstSchemaBuilder[Ctx]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResolverBasedAstSchemaBuilder
  2. DefaultAstSchemaBuilder
  3. AstSchemaBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResolverBasedAstSchemaBuilder(resolvers: Seq[AstSchemaResolver[Ctx]])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def additionalDirectiveDefs: List[DirectiveDefinition]

    Permalink
  5. lazy val additionalDirectives: Seq[Directive]

    Permalink
    Attributes
    protected
  6. def additionalTypeExtensionDefs: List[ObjectTypeExtensionDefinition]

    Permalink
  7. lazy val additionalTypes: List[MaterializedType]

    Permalink
  8. def allowKnownDynamicDirectives(violations: Vector[Violation]): Vector[Violation]

    Permalink
    Attributes
    protected
  9. def argumentDescription(definition: InputValueDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  10. def argumentFromInput(typeDefinition: Either[TypeSystemDefinition, ObjectLikeType[Ctx, _]], fieldDefinition: Option[FieldDefinition], definition: InputValueDefinition): FromInput[Map[String, Any]]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  11. def argumentName(definition: InputValueDefinition): String

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def buildAdditionalFields(origin: MatOrigin, extensions: Vector[ObjectLikeTypeExtensionDefinition], typeDefinition: TypeDefinition, mat: AstSchemaMaterializer[Ctx]): List[MaterializedField[Ctx, Any]]

    Permalink
  14. def buildArgument(origin: MatOrigin, typeDefinition: Either[TypeSystemDefinition, ObjectLikeType[Ctx, _]], fieldDefinition: Option[FieldDefinition], definition: InputValueDefinition, tpe: InputType[_], defaultValue: Option[Tuple2[_, ToInput[_, _]]], mat: AstSchemaMaterializer[Ctx]): Some[Argument[Any]]

    Permalink
  15. def buildArgumentType(origin: MatOrigin, typeDefinition: Either[TypeSystemDefinition, ObjectLikeType[Ctx, _]], fieldDefinition: Option[FieldDefinition], definition: InputValueDefinition, defaultValue: Option[Tuple2[_, ToInput[_, _]]], mat: AstSchemaMaterializer[Ctx]): InputType[Any]

    Permalink
  16. def buildDirective(origin: MatOrigin, definition: DirectiveDefinition, arguments: List[Argument[_]], locations: Set[DirectiveLocation.Value], mat: AstSchemaMaterializer[Ctx]): Some[Directive]

    Permalink
  17. def buildEnumType(origin: MatOrigin, extensions: Vector[EnumTypeExtensionDefinition], definition: EnumTypeDefinition, values: List[EnumValue[Any]], mat: AstSchemaMaterializer[Ctx]): Some[EnumType[Any]]

    Permalink
  18. def buildEnumValue(origin: MatOrigin, extensions: Vector[EnumTypeExtensionDefinition], typeDefinition: Either[EnumTypeDefinition, EnumType[_]], definition: EnumValueDefinition, mat: AstSchemaMaterializer[Ctx]): Some[EnumValue[String]]

    Permalink
  19. def buildField(origin: MatOrigin, typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], extensions: Vector[ObjectLikeTypeExtensionDefinition], definition: FieldDefinition, fieldType: OutputType[_], arguments: List[Argument[_]], mat: AstSchemaMaterializer[Ctx]): Some[Field[Ctx, Any]]

    Permalink
  20. def buildFieldType(origin: MatOrigin, typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], extensions: Vector[ObjectLikeTypeExtensionDefinition], definition: FieldDefinition, arguments: List[Argument[_]], mat: AstSchemaMaterializer[Ctx]): OutputType[Any]

    Permalink
  21. def buildInputField(origin: MatOrigin, extensions: Vector[InputObjectTypeExtensionDefinition], typeDefinition: Either[InputObjectTypeDefinition, InputObjectType[_]], definition: InputValueDefinition, tpe: InputType[_], defaultValue: Option[Tuple2[_, ToInput[_, _]]], mat: AstSchemaMaterializer[Ctx]): Some[InputField[Any]]

    Permalink
  22. def buildInputFieldType(origin: MatOrigin, extensions: Vector[InputObjectTypeExtensionDefinition], typeDefinition: Either[InputObjectTypeDefinition, InputObjectType[_]], definition: InputValueDefinition, defaultValue: Option[Tuple2[_, ToInput[_, _]]], mat: AstSchemaMaterializer[Ctx]): InputType[Any]

    Permalink
  23. def buildInputObjectType(origin: MatOrigin, extensions: Vector[InputObjectTypeExtensionDefinition], definition: InputObjectTypeDefinition, fields: () ⇒ List[InputField[_]], mat: AstSchemaMaterializer[Ctx]): Some[InputObjectType[DefaultInput]]

    Permalink
  24. def buildInterfaceType(origin: MatOrigin, definition: InterfaceTypeDefinition, extensions: List[InterfaceTypeExtensionDefinition], fields: () ⇒ List[Field[Ctx, Any]], mat: AstSchemaMaterializer[Ctx]): Some[InterfaceType[Ctx, Any]]

    Permalink
  25. def buildObjectType(origin: MatOrigin, definition: ObjectTypeDefinition, extensions: List[ObjectTypeExtensionDefinition], fields: () ⇒ List[Field[Ctx, Any]], interfaces: List[InterfaceType[Ctx, Any]], mat: AstSchemaMaterializer[Ctx]): Some[ObjectType[Ctx, Any]]

    Permalink
  26. def buildScalarType(origin: MatOrigin, extensions: Vector[ScalarTypeExtensionDefinition], definition: ScalarTypeDefinition, mat: AstSchemaMaterializer[Ctx]): Some[ScalarType[Any]]

    Permalink
  27. def buildSchema(definition: Option[SchemaDefinition], extensions: List[SchemaExtensionDefinition], queryType: ObjectType[Ctx, Any], mutationType: Option[ObjectType[Ctx, Any]], subscriptionType: Option[ObjectType[Ctx, Any]], additionalTypes: List[Type with Named], directives: List[Directive], mat: AstSchemaMaterializer[Ctx]): Schema[Ctx, Any]

    Permalink
  28. def buildUnionType(origin: MatOrigin, extensions: Vector[UnionTypeExtensionDefinition], definition: UnionTypeDefinition, types: List[ObjectType[Ctx, _]], mat: AstSchemaMaterializer[Ctx]): Some[UnionType[Ctx]]

    Permalink
  29. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  30. def commentDescription(node: WithComments): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  31. def deprecationReason(dirs: List[ast.Directive]): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  32. def directiveDescription(definition: DirectiveDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  33. lazy val directiveDynProviderDirNames: Seq[String]

    Permalink
    Attributes
    protected
  34. lazy val directiveInpResolvers: Seq[DirectiveInputTypeResolver[Ctx]]

    Permalink
    Attributes
    protected
  35. def directiveName(definition: DirectiveDefinition): String

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  36. lazy val directiveOutResolvers: Seq[DirectiveOutputTypeResolver[Ctx]]

    Permalink
    Attributes
    protected
  37. lazy val directiveProviderDirs: Seq[Directive]

    Permalink
    Attributes
    protected
  38. lazy val directiveResolvers: Seq[DirectiveResolver[Ctx]]

    Permalink
    Attributes
    protected
  39. lazy val directiveScalarResolvers: Seq[DirectiveScalarResolver[Ctx]]

    Permalink
    Attributes
    protected
  40. def directiveShouldInclude(definition: DirectiveDefinition): (DirectiveContext) ⇒ Boolean

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  41. lazy val directives: Seq[Directive]

    Permalink
    Attributes
    protected
  42. lazy val dynamicDirectiveNames: Set[String]

    Permalink
    Attributes
    protected
  43. def enumValue(typeDefinition: Either[EnumTypeDefinition, EnumType[_]], definition: EnumValueDefinition): String

    Permalink
  44. def enumValueDeprecationReason(definition: EnumValueDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  45. def enumValueDescription(definition: EnumValueDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  46. def enumValueName(definition: EnumValueDefinition): String

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  47. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  48. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  49. def extendArgument(origin: MatOrigin, typeDefinition: Option[ObjectLikeType[Ctx, _]], field: Field[Ctx, Any], argument: Argument[Any], argumentType: InputType[_], mat: AstSchemaMaterializer[Ctx]): Argument[Any]

    Permalink
  50. def extendArgumentType(origin: MatOrigin, typeDefinition: Option[ObjectLikeType[Ctx, _]], field: Field[Ctx, Any], existing: Argument[Any], mat: AstSchemaMaterializer[Ctx]): InputType[Any]

    Permalink
  51. def extendField(origin: MatOrigin, typeDefinition: Option[ObjectLikeType[Ctx, _]], existing: Field[Ctx, Any], fieldType: OutputType[_], arguments: List[Argument[_]], mat: AstSchemaMaterializer[Ctx]): Field[Ctx, Any]

    Permalink
  52. def extendFieldResolver(origin: MatOrigin, typeDefinition: Option[ObjectLikeType[Ctx, _]], existing: Field[Ctx, Any], fieldType: OutputType[_], mat: AstSchemaMaterializer[Ctx]): (Context[Ctx, Any]) ⇒ Action[Ctx, _]

    Permalink
  53. def extendFieldType(origin: MatOrigin, typeDefinition: Option[ObjectLikeType[Ctx, _]], existing: Field[Ctx, Any], mat: AstSchemaMaterializer[Ctx]): OutputType[Any]

    Permalink
  54. def extendInputField(origin: MatOrigin, typeDefinition: InputObjectType[_], existing: InputField[Any], fieldType: InputType[_], mat: AstSchemaMaterializer[Ctx]): InputField[Any]

    Permalink
  55. def extendInputFieldType(origin: MatOrigin, typeDefinition: InputObjectType[_], existing: InputField[Any], mat: AstSchemaMaterializer[Ctx]): InputType[Any]

    Permalink
  56. def extendInterfaceType(origin: MatOrigin, existing: InterfaceType[Ctx, _], extensions: List[InterfaceTypeExtensionDefinition], fields: () ⇒ List[Field[Ctx, Any]], mat: AstSchemaMaterializer[Ctx]): InterfaceType[Ctx, Any]

    Permalink
  57. def extendObjectType(origin: MatOrigin, existing: ObjectType[Ctx, _], extensions: List[ObjectTypeExtensionDefinition], fields: () ⇒ List[Field[Ctx, Any]], interfaces: List[InterfaceType[Ctx, Any]], mat: AstSchemaMaterializer[Ctx]): ObjectType[Ctx, Any]

    Permalink
  58. def extendScalarAlias[T, ST](origin: MatOrigin, extensions: Vector[ScalarTypeExtensionDefinition], existing: ScalarAlias[T, ST], aliasFor: ScalarType[ST], mat: AstSchemaMaterializer[Ctx]): ScalarAlias[T, ST]

    Permalink
  59. def extendSchema[Val](originalSchema: Schema[Ctx, Val], extensions: List[SchemaExtensionDefinition], queryType: ObjectType[Ctx, Val], mutationType: Option[ObjectType[Ctx, Val]], subscriptionType: Option[ObjectType[Ctx, Val]], additionalTypes: List[Type with Named], directives: List[Directive], mat: AstSchemaMaterializer[Ctx]): Schema[Ctx, Val]

    Permalink
  60. def extendUnionType(origin: MatOrigin, extensions: Vector[UnionTypeExtensionDefinition], existing: UnionType[Ctx], types: List[ObjectType[Ctx, _]], mat: AstSchemaMaterializer[Ctx]): UnionType[Ctx]

    Permalink
  61. def extendedObjectTypeInstanceCheck(origin: MatOrigin, tpe: ObjectType[Ctx, _], extensions: List[ObjectTypeExtensionDefinition]): Option[(Any, Class[_]) ⇒ Boolean]

    Permalink
  62. def fieldComplexity(typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], definition: FieldDefinition): Option[(Ctx, Args, Double) ⇒ Double]

    Permalink
  63. def fieldDeprecationReason(definition: FieldDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  64. def fieldDescription(definition: FieldDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  65. def fieldName(definition: FieldDefinition): String

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  66. def fieldTags(typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], definition: FieldDefinition): List[FieldTag]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  67. def findAnyResolver(origin: MatOrigin): Option[AnyFieldResolver[Ctx]]

    Permalink
    Attributes
    protected
  68. def findComplexityResolver(typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], definition: FieldDefinition): Option[FieldResolver[Ctx]]

    Permalink
    Attributes
    protected
  69. def findComplexityResolver(directive: ast.Directive): Option[(ast.Directive, AstSchemaResolver[Ctx])]

    Permalink
    Attributes
    protected
  70. def findExistingResolver(origin: MatOrigin, typeDefinition: Option[ObjectLikeType[Ctx, _]], field: Field[Ctx, _]): Option[ExistingFieldResolver[Ctx]]

    Permalink
    Attributes
    protected
  71. def findResolver(typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], definition: FieldDefinition): Option[FieldResolver[Ctx]]

    Permalink
    Attributes
    protected
  72. def findResolver(directive: ast.Directive): Option[(ast.Directive, AstSchemaResolver[Ctx])]

    Permalink
    Attributes
    protected
  73. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  74. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  75. def inputFieldDescription(definition: InputValueDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  76. def inputFieldName(definition: InputValueDefinition): String

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  77. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  78. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  79. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  80. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  81. def objectTypeInstanceCheck(origin: MatOrigin, definition: ObjectTypeDefinition, extensions: List[ObjectTypeExtensionDefinition]): Option[(Any, Class[_]) ⇒ Boolean]

    Permalink
  82. def resolveField(origin: MatOrigin, typeDefinition: Either[TypeDefinition, ObjectLikeType[Ctx, _]], extensions: Vector[ObjectLikeTypeExtensionDefinition], definition: FieldDefinition, mat: AstSchemaMaterializer[Ctx]): (Context[Ctx, _]) ⇒ Action[Ctx, _]

    Permalink
  83. def resolveNameConflict(fromOrigin: MatOrigin, types: Vector[MaterializedType]): MaterializedType

    Permalink
  84. val resolvers: Seq[AstSchemaResolver[Ctx]]

    Permalink
  85. def scalarCoerceInput(definition: ScalarTypeDefinition): (ast.Value) ⇒ Either[Violation, Any]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  86. def scalarCoerceOutput(definition: ScalarTypeDefinition): (Any, Set[MarshallerCapability]) ⇒ Any

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  87. def scalarCoerceUserInput(definition: ScalarTypeDefinition): (Any) ⇒ Either[Violation, Any]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  88. def scalarComplexity(definition: ScalarTypeDefinition): Double

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  89. def scalarValueInfo(definition: ScalarTypeDefinition): Set[ScalarValueInfo]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  90. lazy val stubQueryType: ObjectType[Unit, Unit]

    Permalink
    Attributes
    protected
  91. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  92. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  93. def transformDirective(origin: MatOrigin, existing: Directive, mat: AstSchemaMaterializer[Ctx]): Directive

    Permalink
  94. def transformEnumType[T](origin: MatOrigin, extensions: Vector[EnumTypeExtensionDefinition], existing: EnumType[T], mat: AstSchemaMaterializer[Ctx]): EnumType[T]

    Permalink
  95. def transformInputObjectType[T](origin: MatOrigin, extensions: Vector[InputObjectTypeExtensionDefinition], existing: InputObjectType[T], fields: () ⇒ List[InputField[_]], mat: AstSchemaMaterializer[Ctx]): InputObjectType[T]

    Permalink
  96. def transformScalarType[T](origin: MatOrigin, extensions: Vector[ScalarTypeExtensionDefinition], existing: ScalarType[T], mat: AstSchemaMaterializer[Ctx]): ScalarType[T]

    Permalink
  97. def typeDescription(definition: TypeDefinition): Option[String]

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  98. def typeName(definition: TypeDefinition): String

    Permalink
    Definition Classes
    DefaultAstSchemaBuilder
  99. def useLegacyCommentDescriptions: Boolean

    Permalink
  100. def validateSchema(schema: Document, validator: QueryValidator = ...): Vector[Violation]

    Permalink
  101. def validateSchemaWithException(schema: Document, validator: QueryValidator = ...): ResolverBasedAstSchemaBuilder[Ctx]

    Permalink
  102. lazy val validationSchema: Schema[Unit, Unit]

    Permalink
    Attributes
    protected
  103. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  104. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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 DefaultAstSchemaBuilder[Ctx]

Inherited from AstSchemaBuilder[Ctx]

Inherited from AnyRef

Inherited from Any

Ungrouped