Christopher Orr 🦋
@orrc
Some Scottish guy. Knows a bunch of stuff about computers. Award-winning baker of shortbread. 🥉
ID: 7495152
https://bsky.app/profile/orr.dev 16-07-2007 00:22:41
3,3K Tweet
412 Followers
435 Following
Top tip for anybody trying to reach Snälltåget support via email: over the course of six weeks, I wrote to them twice in English, but got no reply. Today I used Google Translate to send the same question in Swedish: got a reply in under an hour! 🥳
I just ran into this non-intuitive case with Kotlin by JetBrains JSON serialisation… A `data class` field with default property value won't appear in the JSON output — even if you explicitly provide it in your constructor call! 🤔 You need `encodeDefaults = true`: play.kotlinlang.org/#eyJ2ZXJzaW9uI…