DeriveObjectTypeMacro

sangria.macros.derive.DeriveObjectTypeMacro
See theDeriveObjectTypeMacro companion object
class DeriveObjectTypeMacro(using globalQuotes: Quotes) extends DeriveMacroSupport

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def deriveObjectType[Ctx, CtxVal, Val](ctxType: Type[Ctx], ctxValType: Option[(Type[CtxVal], Expr[Ctx => CtxVal])], valType: Type[Val], config: Seq[Expr[DeriveObjectSetting[Ctx, Val]]])(using Type[Ctx], Type[CtxVal], Type[Val]): Expr[ObjectType[Ctx, Val]]

Inherited methods

protected def flattenOptionExpr[T](using Quotes, Type[T])(exprOpt: Option[Expr[T]]): Expr[Option[T]]

Attributes

Inherited from:
DeriveMacroSupport
protected def getClassTag[T](using Type[T], Quotes): Expr[ClassTag[T]]

Attributes

Inherited from:
DeriveMacroSupport
protected def memberExcluded(using quotes: Quotes)(annotations: List[Term]): Boolean

Attributes

Inherited from:
DeriveMacroSupport
protected def memberField(using Quotes)(annotations: List[Term]): Boolean

Attributes

Inherited from:
DeriveMacroSupport
def reportErrors(using Quotes)(errors: Seq[(PositionPointer, String)]): Nothing

Attributes

Inherited from:
DeriveMacroSupport
def reportSummoningErrors(errorStrings: Seq[String], summonOptions: Seq[Option[_]])(using Quotes): Nothing

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolDefault(using quotes: Quotes)(annotations: List[Term]): Option[(TypeRepr, Expr[Any])]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolDeprecation(using quotes: Quotes)(annotations: List[Term]): Option[Expr[String]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolDescription(using quotes: Quotes)(annotations: List[Term]): Option[Expr[String]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolFieldTags(using quotes: Quotes)(annotations: List[Term]): Expr[List[FieldTag]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolInputType(using Quotes)(annotations: List[Term]): Option[Expr[InputType[_]]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolName(using quotes: Quotes)(annotations: List[Term]): Option[Expr[String]]

Attributes

Inherited from:
DeriveMacroSupport
protected def symbolOutputType(using Quotes)(annotations: List[Term]): Option[Expr[OutputType[_]]]

Attributes

Inherited from:
DeriveMacroSupport
protected def unsafeSelectByName[S](using quotes: Quotes)(using Type[S])(memberExpr: Expr[_], name: String): Expr[S]

Attributes

Inherited from:
DeriveMacroSupport