summaryrefslogtreecommitdiff
path: root/src/event/routes/test/mod.rs
Commit message (Collapse)AuthorAge
* Handlers are _named operations_, which can be exposed via routes.Owen Jacobson2025-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.
* Tests for channel, invite, setup, and message deletion events.Owen Jacobson2024-10-24
This also found a bug! No live event was being emitted during invite accept. The only way to find out about invites was to reconnect.