Is there an existing issue for this?
Describe the problem
In Kotlin version 1.9.0, the declaration of data object has been stabilized, designed to form a symmetry with data class. These modifications are particularly useful in specific use cases such as sealed hierarchies. However, in some parts of codebase, this application has not been implemented
If you agree with this approach, I'd like to proceed with submitting a pull request. 😊
Describe the solution
By leveraging the data object feature introduced and stabilized in Kotlin version 1.9.0, this refactor will provide a more descriptive toString() representation, ensuring a uniform approach to defining states across sealed interfaces and enhancing the debuggability with the improved toString() method.
Additional context
Code of Conduct
Is there an existing issue for this?
Describe the problem
In Kotlin version 1.9.0, the declaration of data object has been stabilized, designed to form a symmetry with data class. These modifications are particularly useful in specific use cases such as sealed hierarchies. However, in some parts of codebase, this application has not been implemented
If you agree with this approach, I'd like to proceed with submitting a pull request. 😊
Describe the solution
By leveraging the data object feature introduced and stabilized in Kotlin version 1.9.0, this refactor will provide a more descriptive toString() representation, ensuring a uniform approach to defining states across sealed interfaces and enhancing the debuggability with the improved toString() method.
Additional context
Code of Conduct