MiddlewareFromScalar

sangria.execution.MiddlewareFromScalar
trait MiddlewareFromScalar[Ctx] extends Middleware[Ctx]

Attributes

Graph
Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type QueryVal

Attributes

Inherited from:
Middleware

Value members

Abstract methods

def fromScalar(value: Any, inputType: InputType[_], ctx: Ctx): Option[Either[Violation, Any]]

Inherited methods

def afterQuery(queryVal: QueryVal, context: MiddlewareQueryContext[Ctx, _, _]): Unit

Attributes

Inherited from:
Middleware
def beforeQuery(context: MiddlewareQueryContext[Ctx, _, _]): QueryVal

Attributes

Inherited from:
Middleware