SchemaVisitorPathEncoder
class Default[MaybePathEncode]
trait SchemaVisitor[MaybePathEncode]
class Object
trait Matchable
class Any
Value members
Concrete methods
override def enumeration[E](shapeId: ShapeId, hints: Hints, values: List[EnumValue[E]], total: E => EnumValue[E]): MaybePathEncode[E]
- Definition Classes
override def surject[A, B](schema: Schema[A], to: Refinement[A, B], from: B => A): MaybePathEncode[B]
- Definition Classes
Inherited methods
override def collection[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]): MaybePathEncode[C[A]]
- Definition Classes
- Inherited from:
- Default
override def union[U](shapeId: ShapeId, hints: Hints, alternatives: Vector[Alt[Schema, U, _]], dispatch: Dispatcher[Schema, U]): MaybePathEncode[U]
- Definition Classes
- Inherited from:
- Default
final def unsafeCache(allPossibleInputs: Vector[Existential[Schema]]): PolyFunction[Schema, MaybePathEncode]
Pre-computes the polyfunction by applying it on a vector of possible inputs.
Pre-computes the polyfunction by applying it on a vector of possible inputs.
Unsafe because calling the resulting polyfunction with an input that wasn't cached will result in an exception.
- Inherited from:
- PolyFunction
Creates a memoised version of this function.
Creates a memoised version of this function.
Unsafe because it creates mutable state, which is a non-referentially-transparent action (aka a side-effect).
- Inherited from:
- PolyFunction