Files
Max Isbey 7ed57dcf92 refactor: make BaseContext/Context covariant in their type params
LifespanT and TransportT are only exposed via read-only properties (lifespan,
transport), so covariance is sound. This lets a Context[AppState, HttpTC] be
passed where a Context[object, TransportContext] is expected — needed for
ServerRunner's middleware chain to compose without casts, and for reusable
middleware to be typed Context[object, TransportContext] instead of relying
on Any-slack.
2026-04-20 19:01:09 +00:00
..
2024-11-11 12:40:32 +00:00