| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Prevent sending messages to deleted channels. | Owen Jacobson | 2025-07-03 |
| | | | | | I've opted to make it clear in the error message which scenario - deleted vs. non-existant - a channel falls into. This isn't particularly consistent with the rest of the API, so we might need to review this decision later, but it's at least relatively harmless if it's mistaken. (Formally, they're both 404s, so clients that go by error code won't notice.) | ||
| * | 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. | |||
