ModifierTermOverrideByOptic
zio.blocks.schema.derive.ModifierTermOverrideByOptic
case class ModifierTermOverrideByOptic[A](optic: DynamicOptic, termName: String, modifier: Term) extends ModifierOverride
Attaches a Modifier.Term to a specific term (field or case) within the schema node at an exact path. The termName identifies which field or case within the matched node receives the modifier.
Created via DerivationBuilder.modifier(optic, modifier) when the modifier is a Modifier.Term. The optic's last node is extracted as the term name, and the remaining prefix becomes the path.
Attributes
- Source
- ModifierOverride.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ModifierOverrideclass Objecttrait Matchableclass Any
Members list
In this article