This fixes the issue with SmartDateField by adding a check for null, undefined, and "" in SmartDateField's cast function. However, based on my understanding of how it is implemented, this should not be necessary if StringChainCast is working properly (and StringChainCast is not tested). I'll continue to investigate StringChainCast, if we need a fix out in the meantime we can merge this PR.
Closes https://github.com/FlatFilers/platform-sdk-mono/issues/251
This fixes the issue with SmartDateField by adding a check for null, undefined, and "" in SmartDateField's
cast
function. However, based on my understanding of how it is implemented, this should not be necessary if StringChainCast is working properly (and StringChainCast is not tested). I'll continue to investigate StringChainCast, if we need a fix out in the meantime we can merge this PR.