| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Adapter.Types
Description
The capability record an ecosystem registers (RegistryAdapter) and the serve surface it
carries. A record holds no URL, credential, limit, or policy: it is a static fact of the build.
It sits apart from the registration (Ecluse.Core.Registry.Adapter) as the cycle-breaking
.Types split of docs/style.md 4.3, so an adapter module never imports that registry. The
embedded slices live in Ecluse.Core.Registry.Adapter.Capability.
Synopsis
- data RegistryAdapter = RegistryAdapter {}
- data AdapterServe = AdapterServe {}
The capability record
data RegistryAdapter Source #
One ecosystem's complete capability record, which the composition root wires every
consuming pipeline from. adapterFor resolves it.
Constructors
| RegistryAdapter | |
Fields
| |
The serve surface
data AdapterServe Source #
The ecosystem's web-facing serve surface. Both routing fields are derived from one declarative route table, so the routed surface and the documented one cannot drift apart.
Constructors
| AdapterServe | |
Fields
| |