Svelixir.Config.Features (svelixir v0.11.0)

Copy Markdown

Optional capability toggles — the features: section.

Every key defaults to false so that nothing reads as "on" while its backing dependency is absent.

Summary

Functions

Builds this section, and any nested block, from input.

Types

t()

@type t() :: %Svelixir.Config.Features{
  cqrs: boolean(),
  feature_flags: boolean(),
  multitenancy: boolean()
}

Functions

new!(input \\ [])

@spec new!(keyword() | map()) :: t()

Builds this section, and any nested block, from input.

valid?(self)