Feature request for typealiases - when I add a new...
# intellij
e
Feature request for typealiases - when I add a new field to class and there are typealiases for it - the default value also added to places where type alias is used. Example
Copy code
typealias CommonApiResult<T> = ApiResult<T, ErrorWrapper>
typealias LegacyApiResult<T> = ApiResult<T, BaseServerResult>

@Serializable
@Keep
data class ApiResult<T : Any, E : Any>(
    val httpStatusCode: Int,
    val payload: T?,
    val errors: E?,
    val headers: Map<String, String>. //this is a new field that I want to have emptyMap() default value
)
As per example only class usages are changes and all type aliases are ignored.
a
🙌 1