CapabilityRecord

PackageAxial.Guardrails
A service that replaces a raw API: what a caller uses instead, how it reaches the code, and how tests fake it. Axial's own are compiled in below; anyone else's is defined in a `.capability.toml` file that the build names with an `<AxialCapabilityDefinition>` item.

Fields

NameTypeDescription
NameNameNo description available.
GuardrailGuardrailThe guardrail its rules belong to; enabling the guardrail enables them.
ServiceServiceThe type or module callers use instead, such as IFileSystem or Clock.
EnvEnvThe environment interface that carries the service.
FieldFieldThe environment record field that implements Env, such as FileSystem: IFileSystem.
ExampleExampleOne call through the service, shown as an example.
LiveLiveThe production implementation.
FakeFakeThe test implementation.
LevelLevelNo description available.
ImplementationImplementationFull paths of the files that claim the capability with AxialCapability metadata on their Compile item: the only files that may call its API.