OpticsHolder
zio.blocks.schema.OpticsHolder
final class OpticsHolder(members: Map[String, Any]) extends Dynamic, Selectable
The runtime object behind optics: it holds the derived optics by name, and the type of optics gives each member its type. It is an implementation detail; use the members of optics. On Scala 2 it is DerivedOptics.OpticsHolder and backs only the optics of types that are neither case classes nor sealed traits (the others are anonymous classes); on Scala 3 it is zio.blocks.schema.OpticsHolder, backs every optics, and is also a Selectable.
Attributes
- Source
- DerivedOptics.scala
- Graph
-
- Supertypes
Members list
In this article