Awesome thanks! I think that allowed it to compile...
# serialization
e
Awesome thanks! I think that allowed it to compile that class 🙏 Faced a new issue with this class
Copy code
@Serializable
data class ServiceImpl(
  override val id: String,
  override var name: String = id.capitalize(Locale.ROOT),
  override var logoUrl: String? = null,
  override var logoHasText: Boolean = false,
  override var brandColor: Int = "#FFFFFF".toColor(),
  override var brandAccentColor: Int = "#3F51B5".toColor(),
  override var country: Country = Countries.findByCountryCode(Locale.ROOT.language) ?: <http://Countries.NG|Countries.NG>,
  override var actions: ActionContainerImpl = ActionContainerImpl(),
) : Service
Error
Copy code
Failed to generate expression: KtNameReferenceExpression
Caused by: java.lang.UnsupportedOperationException: Don't know how to generate outer expression: Class: class ServiceImpl