Repository F# setup
open System
open System.IO
open System.Threading
open System.Threading.Tasks
open Axial
open Axial.Console
open Axial.FileSystem
open Axial.Hosting
open Axial.Hosting.Browser
open Axial.Hosting.Node
open Axial.State
open Axial.Telemetry
open Axial.Telemetry.JavaScript
open Axial.Configuration
open Reified
open Reified.SchemaDSL

Configuration

Axial.Configuration replaces ad-hoc environment reads with one layered configuration model. Install it and open Axial.Configuration:

dotnet add package Axial.Configuration
Verified
open Axial.Configuration

Sources produce Reified.Data; later sources win, and one schema decodes the merged result. Failures are values in ConfigError, not exceptions. Config.processArg passes a schema-declared secret to a process without exposing it in plans or transcripts. Microsoft IConfiguration remains supported through HostConfiguration.source in Axial.Hosting.

Fable: Axial 0.12 requires Reified 0.12.1. Its Fable schema builder supports typed schema<...> construction and Config.load decoding, so source loading, merging, plain reads and watching use the same typed path on Fable.

Guides

  1. Sources, loading, secrets, and watching: build sources, decode a model, read plain values, redact secrets, and watch file changes.
  2. Culture and time zones: read explicit machine defaults and preserve caller-supplied System.TimeZoneInfo rules.

Reference

The generated Configuration API covers sources, errors, loading, plain reads, watching, and the process-argument bridge.