The record deserializer assumes that an absent field can be left as null, but that is not the case for Skippable because it's a struct. I think ValueNone may have the same issue.
A solution would be to replace the Array.zeroCreate in the record deserializer with cloning a statically constructed array that contains a boxed Skip or ValueNone where required.
The record deserializer assumes that an absent field can be left as
null
, but that is not the case forSkippable
because it's a struct. I thinkValueNone
may have the same issue.A solution would be to replace the
Array.zeroCreate
in the record deserializer with cloning a statically constructed array that contains a boxedSkip
orValueNone
where required.