BiDiMultiLensSpec
Represents a bi-directional extraction of a list of entities from a target, or an insertion into a target.
Functions
Link copied to clipboard
abstract override fun defaulted(name: String, default: List<OUT>, description: String?, metadata: Map<String, Any>): BiDiLens<IN, List<OUT>>
Make a concrete Lens for this spec that falls back to the default value if no value is found in the target.
abstract override fun defaulted(name: String, default: LensExtractor<IN, List<OUT>>, description: String?, metadata: Map<String, Any>): BiDiLens<IN, List<OUT>>
Make a concrete Lens for this spec that falls back to another lens if no value is found in the target.