Hello :wave: . I just wanted to check up on <https...
# kontributors
d
Hello 👋 . I just wanted to check up on https://youtrack.jetbrains.com/issue/KT-7922. I’m currently generating some Kotlin code and have run into a minor issue because I can’t add a
Boolean.Companion.fromJson
like I can with
Int.Companion.fromJson
and
String.Companion.fromJson
(long story). I’m happy to send a PR to implement this very difficult change 😉, but I’m guessing it will need proper consideration first as it is affecting something fundamental like
Boolean
.
g
l
I don't think it affects so fundamentally like that, but I'm not sure. Considering that even String has an empty Companion Object so developers can use it in the way they want
Int, Double, Long, Short.... all have companion objects, I don't see an issue in having one in Boolean also