diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-06-17 01:22:54 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-06-17 01:22:54 -0400 |
| commit | 43375bcb875a31ce8c6132ce78552d45f64b261b (patch) | |
| tree | 6ea93d417f329baccaa84f1d557638f54f3f2d37 /.sqlx/query-4c27c8f7ed9b6315433dc2b5f787a61d82693fe0426b46f9971fcde5e44f38b0.json | |
| parent | 424fb08ecd315c67dd3862c29e87eea7bf32f65c (diff) | |
Use a fluent style for the middleware layers.
For endpoints that are unavailable, that default behaviour no longer needs to be specified: `Required(app)` will do that for you. For endpoints that are redirects until setup is completed, `Require(app).with_fallback(…response…)` will do that.
To make this a bit harder to break by accident, the default unavailable response is now its own type.
Diffstat (limited to '.sqlx/query-4c27c8f7ed9b6315433dc2b5f787a61d82693fe0426b46f9971fcde5e44f38b0.json')
0 files changed, 0 insertions, 0 deletions
