Patcher

io.scalaland.chimney.Patcher
See thePatcher companion trait
object Patcher

Attributes

See also
Since

0.1.3

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Patcher.type

Members list

Type members

Classlikes

object AutoDerived

Attributes

Since

0.8.0

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait AutoDerived[A, Patch]

Type class used when you want o allow using automatically derived patchings.

Type class used when you want o allow using automatically derived patchings.

When we want to only allow semiautomatically derived/manually defined instances you should use io.scalaland.chimney.Patcher.

Type parameters

A

type of object to apply patch to

Patch

type of patch object

Attributes

See also
Since

0.8.0

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Patcher[A, Patch]

Value members

Concrete methods

def define[A, Patch]: PatcherDefinition[A, Patch, Empty, Default]

Creates an empty io.scalaland.chimney.dsl.PatcherDefinition that you can customize to derive io.scalaland.chimney.Patcher.

Creates an empty io.scalaland.chimney.dsl.PatcherDefinition that you can customize to derive io.scalaland.chimney.Patcher.

Type parameters

A

type of object to apply patch to

Patch

type of patch object

Attributes

Returns

io.scalaland.chimney.dsl.PatcherDefinition with defaults

See also
Since

0.8.0

Inherited methods

inline def derive[A, Patch]: Patcher[A, Patch]

Provides io.scalaland.chimney.Patcher instance for arbitrary types.

Provides io.scalaland.chimney.Patcher instance for arbitrary types.

Type parameters

A

type of object to apply patch to

Patch

type of patch object

Attributes

Returns

io.scalaland.chimney.Patcher type class instance

Since

0.8.0

Inherited from:
PatcherCompanionPlatform (hidden)