zio.config
Members list
Packages
Type members
Classlikes
Attributes
- Source
- ConfigDocsModule.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- TupleConversion.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TupleConversion
Attributes
- Companion
- trait
- Source
- IndexedFlat.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IndexedFlat.type
Attributes
- Companion
- object
- Source
- IndexedFlat.scala
- Supertypes
Attributes
- Source
- package.scala
- Supertypes
Attributes
- Companion
- object
- Source
- TupleConversion.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- TupleConversion.scala
- Supertypes
- Self type
-
TupleConversion.type
Inherited classlikes
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
- Supertypes
-
class Objecttrait Matchableclass Any
ConfigDocs holds the descriptions and details of a Config which can be used to produce documentation.
ConfigDocs holds the descriptions and details of a Config which can be used to produce documentation.
Attributes
- Inherited from:
- ConfigDocsModule
- Source
- ConfigDocsModule.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
- Supertypes
-
class Objecttrait Matchableclass Any
A Table is a recursive structure that is more easier to be interpreted as Json or Markdown than trying to convert ConfigDocs to a readable format.
A Table is a recursive structure that is more easier to be interpreted as Json or Markdown than trying to convert ConfigDocs to a readable format.
Value parameters
- rows:
-
A table consist of multiple
TableRows where eachTableRowholds the information about the config path.
Attributes
- Inherited from:
- ConfigDocsModule
- Source
- ConfigDocsModule.scala
- Supertypes
Attributes
- Inherited from:
- ConfigDocsModule
- Source
- ConfigDocsModule.scala
- Supertypes
Value members
Inherited methods
Add a post fix to an existing key
Add a post fix to an existing key
Attributes
- Inherited from:
- KeyConversionFunctions (hidden)
- Source
- KeyConversionFunctions.scala
Add a prefix to an existing key
Add a prefix to an existing key
Attributes
- Inherited from:
- KeyConversionFunctions (hidden)
- Source
- KeyConversionFunctions.scala
Convert camelCase to any delimited string. Example:
Convert camelCase to any delimited string. Example:
camelToDelimiter("abcDef", "-") === abc-def
Attributes
- Inherited from:
- KeyConversionFunctions (hidden)
- Source
- KeyConversionFunctions.scala
Generate documentation based on the Config, where a Config is a structure representing the logic to fetch the application config from various sources.
Generate documentation based on the Config, where a Config is a structure representing the logic to fetch the application config from various sources.
Once we generate the docs, this can be converted to a light weight Table structure which is much more easier to be converted to markdown or json formats.
Example :
val configDescriptor: Config[MyAppConfig] = ???
generatedDocs(configDescriptor).toTable.toGithubFlavouredMarkdown
Attributes
- Inherited from:
- ConfigDocsModule
- Source
- ConfigDocsModule.scala
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
Inherited fields
Convert a camelCase key to kebab-case val s = abcDef toKebabCase(s) === abc-def
Convert a camelCase key to kebab-case val s = abcDef toKebabCase(s) === abc-def
This version handles numeric boundaries properly:
- "myValue123" -> "my-value-123"
- "QAndA" -> "q-and-a"
Attributes
- Inherited from:
- KeyConversionFunctions (hidden)
- Source
- KeyConversionFunctions.scala
Legacy kebab-case conversion that only handles lowercase-uppercase boundaries. Use this for backward compatibility with configs created before zio-config 4.0.5.
Legacy kebab-case conversion that only handles lowercase-uppercase boundaries. Use this for backward compatibility with configs created before zio-config 4.0.5.
Example:
- "myValue123" -> "my-value123" (numbers not separated)
- "QAndA" -> "qand-a" (consecutive capitals not separated)
Attributes
- Inherited from:
- KeyConversionFunctions (hidden)
- Source
- KeyConversionFunctions.scala
Convert a camelCase key to snake_case
Convert a camelCase key to snake_case
Attributes
- Inherited from:
- KeyConversionFunctions (hidden)
- Source
- KeyConversionFunctions.scala
Givens
Inherited givens
Attributes
- Inherited from:
- ImplicitTupleConversion
- Source
- TupleConversion.scala
Attributes
- Inherited from:
- ImplicitTupleConversion
- Source
- TupleConversion.scala
Implicits
Implicits
Attributes
- Source
- package.scala
Inherited implicits
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala
Attributes
- Inherited from:
- ConfigSyntax
- Source
- ConfigSyntax.scala