Hunter
12/08/2025, 5:36 PMGeneratedSerializer become public api. Or even better, I would like a public interface that provides the childSerializers and typeParameterSerializers methods, and GeneratedSerializer extend that interface and then it can serve as a purely marker interface. These methods are really useful in library development when dealing with serialization.
Example:
public interface ExposedSerializer<T> : KSerializer<T> {
public fun childSerializers(): Array<KSerializer<*>>
public fun typeParametersSerializers(): Array<KSerializer<*>>
}
@InternalSerializationApi
public interface GeneratedSerializer<T> : ExposedSerializer<T> // Now just a marker interface