Opens the option to expand objects - by removing "sealed" #505
Replies: 2 comments 5 replies
-
@danielmayost That kind of flexibility leads to a lot of bugs, therefore everything is sealed by default. We prefer to extend things using composition if we can in the first place and avoid inheritance. |
Beta Was this translation helpful? Give feedback.
-
I have a similiar question: I also want to extend the progress view: I have a progress task which analyzes items, and for the example lets say it categorizes each item into e.g. Apple or Banana.
I can create a Custom So I would also like to ask if
|
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I would be happy if there was more flexibility to expand existing objects in the project, like
ProgressTask
, for that matter, I owe a version of it with a few more Properties.This was a problem for me with a few other objects like
Table
etc.Describe the solution you'd like
Why must all objects be locked for expansion, with
sealed
? It will be more flexible to leave users more options.Beta Was this translation helpful? Give feedback.
All reactions