BatMap icon indicating copy to clipboard operation
BatMap copied to clipboard

'Null object cannot be converted to a value type.' error fixed

Open brkzr opened this issue 4 years ago • 0 comments

Change list

Please provide briefly described change list which are you going to propose.

Types of changes

What types of changes are you proposing/introducing? Put an x in the boxes that apply

  • [x ] Bugfix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

When input and output types not equal and input properties equal to null, because of trying convert null value,mapping gives an error message ("Null object cannot be converted to a value type.").

I blocked type conversion when input is nullable value type

brkzr avatar Aug 14 '20 17:08 brkzr