Replies: 1 comment 8 replies
-
Isn't this what extension functions are for? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wanted to gauge community interest in allowing KotlinPoet class declarations to be extended. By default Kotlin classes are private, so this would mostly just require adding the
open
modifier to most classes.The reason being, there are certain things that developers may want to build (in my case, certain DSL streamline functions) that most likely don't really belong in the KotlinPoet repo. Opening up these classes would allow external extension that is currently not feasible.
Curious to hear if there are any arguments against allowing this feature.
Beta Was this translation helpful? Give feedback.
All reactions