# `Spectre.Governance.ChangeSet.Handler`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/governance/change_set/handler.ex#L1)

Trusted implementation boundary for registered ChangeSet operations.

Implementations are compiled modules selected by a host-owned Registry. A
handler declares every operation type and component class it may modify.

# `apply`

```elixir
@callback apply(
  Spectre.Governance.ChangeSet.Operation.t(),
  Spectre.Governance.Composition.t(),
  map()
) ::
  {:ok, Spectre.Governance.Composition.t()} | {:error, term()}
```

# `component_classes`

```elixir
@callback component_classes() :: [atom()]
```

# `operation_types`

```elixir
@callback operation_types() :: [String.t()]
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
