* fixes #22613; Default value does not work with object's discriminator fixes #22613 * merge branches * add a test case * fixes status * remove outdated comments * move collectBranchFields into the global scope (cherry picked from commit affd3f7858)
affd3f7858
unsafeNew