Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks a lot for this one, @NickSdot. You found a real bug: an optional nillable element was written as While this was open, the lens layer underneath it changed. The default encoder lens no longer throws on a missing property and returns null instead (veewee/reflecta#39), so For the built-in encoders the result is the same as yours. The presence check only runs for elements that are both I'm closing this one in favour of #79, so the discussion continues there. |
Summary
Hey! Distinguishes absent optional properties from explicit null during encoding, while preserving required nullable behaviour and custom encoder lenses. Regression tests for arrays, objects, uninitialised typed properties and nested repeated values.