Skip to content

Compono.ConfigurationSource

Compono

Compono

ConfigurationSource Class

Where one accumulated CompositionBuilder entry (a registration, a rule, or a scalar configuration option) came from - a direct builder call, or the chain of profiles whose Configure it ran inside of.

public abstract record ConfigurationSource : System.IEquatable<Compono.ConfigurationSource>

Inheritance System.Object → ConfigurationSource

Derived
ProfileChain

Implements System.IEquatable<ConfigurationSource>

Remarks

A discriminated union, matching this codebase's existing Compono.PathSegment/ Compono.CompositionResult shape. Used only for diagnostics - naming every contributing source of a CompositionConfigurationError - never for resolution behavior. public because CompositionConfigurationError, which exposes it, is public. See docs/adr/0018-composition-profiles.md's provenance decision.

Fields
Direct The single, shared instance representing a builder call made outside any profile.