is there some way to require that a type is serial...
# serialization
o
is there some way to require that a type is serializable, something like
class Container<@Serializable T> …
?
thinking about this for a minute i suppose the answer is to do
class Container<T>(val serializer: SerializationStrategy<T>,  …
👍 1
d
Yup