Magic-aware snapshots
MagicTapirIntegration.install() registers enrichers on tapir snapshots: route and middleware, forms and errors, controller state, Gate results, the auth user, Echo when broadcasting is bound, and recent HTTP, logs and exceptions.
-
Adds 14 enrichers, shown when a snapshot runs with
--includeEnrichers -
tapir:navigate --route /pathcallsMagicRouter.instance.to(route)
if (!kReleaseMode) TapirPlugin.install();
await Magic.init();
if (!kReleaseMode) MagicTapirIntegration.install();