<@U5UU34LPK> what do you mean by delegate to it? c...
# announcements
d
@karelpeeters what do you mean by delegate to it? can you make an example?
d
So it would be something like this?
Copy code
data class BaseValues(
  val id: String,
  val type: String
)
sealed class MySealed {
  data class TypeA(
    val base: BaseValues
  )  : BaseValues by Base
}
(or maybe with the interface if mandatory)
and I could access the value directly on
TypeA
is that it?
a
@Daniele Segato yes
k
Yup that's what I meant, thanks for following up everyone simple smile
d
thank you all 🙂 wish this was a single thread but that's ok too
1
k
What do mean about the thread?
d
@karelpeeters my original question has been answered in the #C0922A726 channel. so this thread is partial 🙂
k
Ah, that's often the case: quick answer in the channel itself and then if the discussion goes on it becomes a thread.
d
@karelpeeters big fan of all response in thread, find it easier to follow 🙂
(Also can keep a link to it and have it all)
k
It's annoying that no one sees the replies though, eg @Andreas Sinz might not have seen my response and elaborated on it.
👍 1
d
Isn't "Also send to #channel" flag exactly for that?
k
That's messy too, the message almost doubles in size with the "this was posted in a thread" note.