Hyperlinkv0.8.0-beta.28

ConfigProvider

ConfigProvider.Pathtypeeffect/ConfigProvider.ts:225
Path

An ordered sequence of string or numeric segments that addresses a node in the configuration tree. String segments name object keys; numeric segments index into arrays.

When to use

Use to address raw configuration nodes when implementing or transforming a ConfigProvider.

Example (A typical config path)

import type { ConfigProvider } from "effect"

const path: ConfigProvider.Path = ["database", "replicas", 0, "host"]
models
export type Path = ReadonlyArray<string | number>
Referenced by 6 symbols