Installs ash_hooks into a host application:
- adds
:ash_hooksto.formatter.exsimport_deps(DSL formatting); - patches the endpoint's
Plug.Parserswithbody_reader: {AshHooks.BodyReader, :read_body, []}so inbound verification sees the raw pre-parser bytes (a router plug CANNOT capture them — see docs/adr).
Usage
mix igniter.install ash_hooks