Since v4.4.0, object properties defined as z.any() are now treated as required (i.e. the object will fail to parse if the property is unset). The release notes say this is now the expected behavior for z.undefined(), but don't mention z.any(), so I assume this is unintended?
Reproduction: v4.3.6, v4.4.0
Since v4.4.0, object properties defined as
z.any()are now treated as required (i.e. the object will fail to parse if the property is unset). The release notes say this is now the expected behavior forz.undefined(), but don't mentionz.any(), so I assume this is unintended?Reproduction: v4.3.6, v4.4.0