kotools / types

Explicit types for Kotlin Multiplatform.
https://types.kotools.org
MIT License
90 stars 6 forks source link

🐛 Invalid serial name of `EmailAddress` type's serializer #599

Closed LVMVRQUXL closed 8 months ago

LVMVRQUXL commented 8 months ago

📝 Description

Bug encountered in version 4.5.0.

After moving the EmailAddress type to the kotools.types.web package in #377, we forgot to update accordingly the serial name of its serializer.

// Current behavior
println(serializer<EmailAddress>().descriptor.serialName) // kotools.types.experimental.EmailAddress

// Expected behavior
println(serializer<EmailAddress>().descriptor.serialName) // kotools.types.web.EmailAddress

✅ Checklist