By default FileMaker stores all values as an empty string. This works but causes issues with casting attributes or expected functionality in Laravel. A recent release added any cast attributes to convert to null if the value is an empty string to prevent issues with date casting. We want to do 2 things in the future:
Add a defaulted setting that will allow users to turn on/off auto null conversion with the default set to off. This will preserve backwards compatibility and not introduce a major version.
We want to switch the default to on to better align with data normally seen in Laravel while using other database engines.
By default FileMaker stores all values as an empty string. This works but causes issues with casting attributes or expected functionality in Laravel. A recent release added any cast attributes to convert to null if the value is an empty string to prevent issues with date casting. We want to do 2 things in the future: