sdk_csharp icon indicating copy to clipboard operation
sdk_csharp copied to clipboard

Update generator to check nullable types with HasValue()

Open epels opened this issue 6 years ago • 0 comments

Steps to reproduce:

  1. Have a generated type with a nullable field (e.g. MasterCardAction.CardId is an int?)
  2. Check if the field is null in generated code

What should happen:

  1. Checked with myNullableField.HasValue

What happens:

  1. Checked with myNullableField != null

epels avatar Jan 02 '18 12:01 epels