You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kotlin generates a toString method for data/value classes that I'd like to override. There are a couple of particular customizations I'd like to make:
Redact sensitive info from being potentially logged
Value classes look like "Type(contents)" when I usually want just the "contents" part
So a nice option to support with #13 could be stringTemplate :: Maybe Text, which would result in a toString() override on the Kotlin backend and perhaps a CustomStringConvertible implementation on the Swift backend.
The text was updated successfully, but these errors were encountered:
Well, after a quick Google search I can see what it would look like. How would we generate the toString implementation? Moat isn't really capable of generating term-level expressions.
Kotlin generates a
toString
method for data/value classes that I'd like to override. There are a couple of particular customizations I'd like to make:So a nice option to support with #13 could be
stringTemplate :: Maybe Text
, which would result in atoString()
override on the Kotlin backend and perhaps aCustomStringConvertible
implementation on the Swift backend.The text was updated successfully, but these errors were encountered: