Join Slack
Powered by
Am i going crazy or if you use a value class withi...
# server
k
Kev
06/06/2024, 12:40 PM
Am i going crazy or if you use a value class within a string template, it ends up using a toString of the value class and not the value within the class?
s
Sam
06/06/2024, 12:43 PM
You're right, this is by design. You can override the value class's
toString()
function if you want something different.
2
Views
Open in Slack
Previous
Next