ProvenanceMap

zio.blocks.config.ProvenanceMap
final case class ProvenanceMap[A](value: A, source: ConfigSource)

A decoded configuration value paired with the ConfigSource that produced it, allowing per-key provenance queries.

Attributes

Source
ProvenanceMap.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def dump(prefix: String = ...): String

Render a formatted table showing all keys visible under the given prefix with their values and sources.

Render a formatted table showing all keys visible under the given prefix with their values and sources.

Attributes

Source
ProvenanceMap.scala
def provenanceOf(path: String): Maybe[Provenance]

Look up the provenance of a specific dot-separated key path.

Look up the provenance of a specific dot-separated key path.

Attributes

Source
ProvenanceMap.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala