Documentation
¶
Overview ¶
Package validation wires the validation domain — per-repository mapping checks against Slack and GitHub — into an fx module. This file is the only fx-aware part of the domain; the domain, application, and infrastructure layers stay framework-free.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Module = fx.Module("validation", fx.Provide( fx.Annotate(infrastructure.NewSlackProbe, fx.As(new(domain.SlackChecker))), fx.Annotate(application.NewValidator, fx.As(new(domain.RepoValidator))), ), )
Module binds the validation ports to their implementations: the Slack probe adapter satisfies the SlackChecker port, and the application Validator satisfies the RepoValidator use-case port. The composition root supplies the external inputs the module cannot build itself — a *slack.Client for the probe, and the MappingLookup and GitHubChecker ports (the routing provider and the GitHub client).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package application holds the validation use cases: the per-repository Validator and the entry runner that expands and validates mapping entries.
|
Package application holds the validation use cases: the per-repository Validator and the entry runner that expands and validates mapping entries. |
|
Package domain holds the validation domain's contracts: the ports that infrastructure adapters satisfy, the DTOs and enums that describe a validation run, and the constants that define what "valid" means.
|
Package domain holds the validation domain's contracts: the ports that infrastructure adapters satisfy, the DTOs and enums that describe a validation run, and the constants that define what "valid" means. |
|
Package infrastructure holds the validation adapters that satisfy the domain ports over real clients — today, a Slack probe over the platform Slack client.
|
Package infrastructure holds the validation adapters that satisfy the domain ports over real clients — today, a Slack probe over the platform Slack client. |