argh. this should read `!$metadata->mappings[$field]['nullable']` as in the attribute strategy above. no idea why i did not see that. maybe the tests in the end still do not cover all situations. would be great if you can add that test and then try if that fix is the correct one.