Closed OmiCron07 closed 5 years ago
You are right. Thanks for reporting this issue, I will try to fix it.
Here is a version with fix: https://ci.appveyor.com/api/buildjobs/r36cais6plavwx9c/artifacts/MappingGenerator%2FMappingGenerator%2FMappingGenerator.Vsix%2Fbin%2FRelease%2FMappingGenerator.vsix
Would you mind to test it and let me know if everything works according to your expectations?
Seems all good 👍
I generated the following mapping :
The field
Definition
is an enum and it has been converted right in an int. But the conversion of the fieldThreads
, which is a nullable enum converted to nullable int, is invalid and will likely generate a null exception.Should has been
Threads = (int?) args.BendingTypeDetail.Threads