InstanceOverrideByOptic
zio.blocks.schema.derive.InstanceOverrideByOptic
case class InstanceOverrideByOptic[TC[_], A](optic: DynamicOptic, instance: Lazy[TC[A]]) extends InstanceOverride
Overrides the type class instance for the substructure at an exact path in the schema tree.
This is the most precise override: it targets one specific location identified by a DynamicOptic. Created via DerivationBuilder.instance(optic, instance).
Attributes
- Source
- InstanceOverride.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait InstanceOverrideclass Objecttrait Matchableclass Any
Members list
In this article