Currently, it is not possibly to override a value and set it to the value null, in order to set a nullable field in the database to NULL. Instead, will be cast to an empty string while replacing it (with preg_replace_callback()). This PR fixes that bug.
I made one of the tests fail due to the bug and wrote a fix for it.
Currently, it is not possibly to override a value and set it to the value
null
, in order to set a nullable field in the database toNULL
. Instead, will be cast to an empty string while replacing it (withpreg_replace_callback()
). This PR fixes that bug.I made one of the tests fail due to the bug and wrote a fix for it.