| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Factor out common authentication test verification steps into helpers. | Owen Jacobson | 2025-08-26 |
| | | | | | These checks tended to be wordy, and were prone to being done subtly differently in different locations for no good reason. Centralizing them cleans this up and makes the tests easier to follow, at the expense of making it somewhat harder to follow what the test is specifically checking. | ||
| * | Define a canonical "empty" response. | Owen Jacobson | 2025-08-24 |
| | | | | | This is a bit tidier and easier to assert on than returning a bare HTTP status code, but is otherwise interchangeable with it. | ||
| * | Handlers are _named operations_, which can be exposed via routes. | Owen Jacobson | 2025-06-18 |
| Each domain module that exposes handlers does so through a `handlers` child module, ideally as a top-level symbol that can be plugged directly into Axum's `MethodRouter`. Modules could make exceptions to this - kill the doctrinaire inside yourself, after all - but none of the API modules that actually exist need such exceptions, and consistency is useful. The related details of request types, URL types, response types, errors, &c &c are then organized into modules under `handlers`, along with their respective tests. | |||
