Hi all, since roc doesn’t have an Optional type, I was curious what the general pattern is for a data structure that has a a lot of optional fields. Thank you!
I’m specifically interested in the serialization of these optionals, and mirroring the skip-if-none behavior of Serde
@Lukas Hermann it just landed recently and there's no documentation for it yet, but you can do optional record fields - there have been some discussions about it on Zulip, which is unfortunately the only documentation of it right now :sweat_smile:
Thank you!
Lukas Hermann has marked this topic as resolved.
Last updated: Sep 03 2026 at 15:16 UTC