You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wire formats contain fully qualified class names for polymorphic formats even when the data is primitive
WireFormatRegistry also uses fully qualified names for primitive types
object WireFormatRegistry : Registry<WireFormat<*>>() {
init {
val n =WireFormatTypeArgument<Any>(PolymorphicWireFormat, true)
set("kotlin.Any", PolymorphicWireFormat)
set("kotlin.Byte", ByteWireFormat)
set("kotlin.Short", ShortWireFormat)
set("kotlin.Int", IntWireFormat)
This feels like a waste when we actually have short signatures already.
Investigate if the conversion of these long names into signatures is feasible.
The text was updated successfully, but these errors were encountered:
toth-istvan-zoltan
changed the title
Use signatures instead of qualified names when possible
[wireformat] Use signatures instead of qualified names when possible
Feb 1, 2025
As of now:
WireFormatRegistry
also uses fully qualified names for primitive typesThis feels like a waste when we actually have short signatures already.
Investigate if the conversion of these long names into signatures is feasible.
The text was updated successfully, but these errors were encountered: