Stylianos Gakis
11/20/2024, 2:51 PMcopy() function, only with the parameters that I need for each use case which will just create a new instance of the data class, just like the normal copy function would.
Any reasons why I should not be doing that?Klitos Kyriacou
11/20/2024, 3:00 PMExposedCopyVisibility? See https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exposed-copy-visibility/#recommendation-and-alternativesStylianos Gakis
11/20/2024, 3:06 PMStylianos Gakis
11/20/2024, 3:10 PMcopy function does sound like a reasonable solution for some cases at least