sdk_csharp
sdk_csharp copied to clipboard
Update generator to check nullable types with HasValue()
Steps to reproduce:
- Have a generated type with a nullable field (e.g.
MasterCardAction.CardId
is anint?
) - Check if the field is null in generated code
What should happen:
- Checked with
myNullableField.HasValue
What happens:
- Checked with
myNullableField != null