Handling Optional Fields with Nulls in Struct Decoding with Effect
Hey folks, when decoding a struct with Effect, how can I make it fill up all the optional fields with nulls for the ones that are not present?
I tried some of the options like nullable: true or default: null here, but I'm still just getting the {name: "blublelub"} back.
Thanks!
I tried some of the options like nullable: true or default: null here, but I'm still just getting the {name: "blublelub"} back.
Thanks!
