sangria.macros.derive

Members list

Concise view

Type members

Classlikes

case class AddFields[Ctx, Val](fields: Field[Ctx, Val]*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class DeprecateField[Ctx, Val](fieldName: String, deprecationReason: String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class DeprecateValue(value: String, deprecationReason: String) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait DeriveEnumSetting

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AddFields[Ctx, Val]
class DeprecateField[Ctx, Val]
class DocumentField[Ctx, Val]
class ExcludeFields[Ctx, Val]
class FieldComplexity[Ctx, Val]
class FieldTags[Ctx, Val]
class IncludeFields[Ctx, Val]
class IncludeMethods[Ctx, Val]
class Interfaces[Ctx, Val]
class MethodArgument[Ctx, Val, Arg]
class MethodArgumentDefault[Ctx, Val, Arg]
class MethodArgumentRename[Ctx, Val]
class ObjectTypeDescription[Ctx, Val]
class ObjectTypeName[Ctx, Val]
class RenameField[Ctx, Val]
class ReplaceField[Ctx, Val]
class TransformFieldNames[Ctx, Val]

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class DeriveObjectTypeMacro(using globalQuotes: Quotes) extends DeriveMacroSupport

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
case class DocumentField[Ctx, Val](fieldName: String, description: String, deprecationReason: Option[String]) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class DocumentInputField(fieldName: String, description: String) extends DeriveInputObjectSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class DocumentValue(value: String, description: String, deprecationReason: Option[String]) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class EnumTypeDescription(description: String) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class EnumTypeName(name: String) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ExcludeFields[Ctx, Val](fieldNames: String*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class ExcludeInputFields(fieldNames: String*) extends DeriveInputObjectSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ExcludeValues(fieldNames: String*) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class FieldComplexity[Ctx, Val](fieldName: String, complexity: (Ctx, Args, Double) => Double) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class FieldTags[Ctx, Val](fieldName: String, tags: FieldTag*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
class GraphQLDefault[T](defaultValue: T) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class GraphQLDeprecated(deprecationReason: String) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class GraphQLDescription(description: String) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class GraphQLFieldTags(fieldTags: FieldTag*) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class GraphQLInputType(graphQLType: InputType[_]) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class GraphQLName(name: String) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class GraphQLOutputType(graphQLType: OutputType[_]) extends StaticAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class IncludeFields[Ctx, Val](fieldNames: String*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class IncludeInputFields(fieldNames: String*) extends DeriveInputObjectSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class IncludeMethods[Ctx, Val](methodNames: String*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class IncludeValues(values: String*) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Interfaces[Ctx, Val](interfaces: PossibleInterface[Ctx, Val]*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class MethodArgument[Ctx, Val, Arg](methodName: String, argName: String, description: String, default: Arg) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class MethodArgumentDefault[Ctx, Val, Arg](methodName: String, argName: String, default: Arg) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class MethodArgumentDescription[Ctx, Val](methodName: String, argName: String, description: String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class MethodArgumentRename[Ctx, Val](methodName: String, argName: String, newName: String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class MethodArgumentsDescription[Ctx, Val](methodName: String, descriptions: (String, String)*) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class ObjectTypeDescription[Ctx, Val](description: String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class ObjectTypeName[Ctx, Val](name: String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class PositionByExpr(expr: Expr[Any]) extends PositionPointer

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class PositionByQuotes(quotes: Quotes) extends PositionPointer

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait PositionPointer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class RenameField[Ctx, Val](fieldName: String, graphqlName: String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class RenameInputField(fieldName: String, graphqlName: String) extends DeriveInputObjectSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class RenameValue(value: String, graphqlName: String) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ReplaceField[Ctx, Val](fieldName: String, field: Field[Ctx, Val]) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any
case class ReplaceInputField(fieldName: String, field: InputField[_]) extends DeriveInputObjectSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TransformFieldNames[Ctx, Val](transformer: String => String) extends DeriveObjectSetting[Ctx, Val]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DeriveObjectSetting[Ctx, Val]
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TransformValueNames(transformer: String => String) extends DeriveEnumSetting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Deprecated classlikes

Attributes

Deprecated
true
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

inline def deriveContextObjectType[Ctx, CtxVal, Val](inline fn: Ctx => CtxVal, inline config: DeriveObjectSetting[Ctx, Val]*): ObjectType[Ctx, Val]
inline def deriveEnumType[T](inline config: DeriveEnumSetting*): EnumType[T]
inline def deriveObjectType[Ctx, Val](inline config: DeriveObjectSetting[Ctx, Val]*): ObjectType[Ctx, Val]