Andrew O'Hara
02/20/2025, 6:11 PMRequestContextKeys
being replacing by RequestKeys
,I no longer need to pass around a shared context and initialize the server filter stack with the context. Super happy with that!dave
02/20/2025, 6:44 PMleonhardt
02/24/2025, 10:07 AMMikael Ståldal
02/26/2025, 3:56 PMAndrew O'Hara
02/26/2025, 4:02 PMMikael Ståldal
02/26/2025, 4:03 PMval contexts = RequestContexts()
val someKey = RequestContextKey.required<Foo>(contexts)
val otherKey = RequestContextKey.optional<Bar>(contexts)
to:
val someKey = RequestKey.required<Foo>("some")
val otherKey = RequestKey.optional<Bar>("other)
and remove ServerFilters.InitialiseRequestContext(contexts)
?Andrew O'Hara
02/26/2025, 4:11 PMMikael Ståldal
02/26/2025, 4:11 PMMikael Ståldal
02/26/2025, 4:12 PMAndrew O'Hara
02/26/2025, 4:17 PMRequestContexts
is eliminated.dave
02/26/2025, 4:45 PMdave
02/26/2025, 4:46 PMMikael Ståldal
02/26/2025, 5:01 PMMikael Ståldal
03/05/2025, 11:04 AMs4nchez
03/05/2025, 11:23 AMMikael Ståldal
03/05/2025, 1:18 PM