#3613 feat(taps): Normalize two-element `oneOf` schema members where one of them is the null type, into a single nullable schema
Pull request opened by
edgarrmondragon
SSIA
Summary by Sourcery
Normalize JSON schemas that use two-element oneOf with a null branch into a single nullable schema representation and centralize oneOf handling logic.
New Features:
• Support normalization of two-element oneOf schemas where one branch is the null type into compact nullable type schemas, including nested object properties.
Enhancements:
• Refactor oneOf processing into a dedicated handler used by normalize_schema to simplify and unify oneOf normalization behavior.
Tests:
• Add parametrized tests covering normalization of nullable oneOf schemas for primitives and objects, ensuring oneOf removal and correct nullable type shaping.
meltano/sdk