Pavel Kazlovich
07/14/2025, 11:58 AMserializer<@Contextual MyType>
? For now it seems to work only if MyType
is not serializable.rnett
07/14/2025, 5:25 PMContextualSerializer
(or whatever the exact name is) directlyPavel Kazlovich
07/15/2025, 9:20 AMContextualSerializer
requires kClasses for its constructor and doesn't handle nullable types on its own, so using it along with complex generic types is a bit of a nuisance compared to the logic of serializer<T>()
. For now I do use ContextualSerializer
, but I wonder whether the aforementioned behavior is a bug or not.