Closed andersekdahl closed 3 years ago
Describe the bug The operator overloads for BaseMoney does not handle comparing with null here: https://github.com/commercetools/commercetools-dotnet-core-sdk/blob/master/commercetools.Sdk/commercetools.Sdk.Domain/Common/BaseMoney.cs#L33-L61
BaseMoney
null
To Reproduce Compare a price with null, like somePrice == null.
somePrice == null
Expected behavior The operator overloads should be able to handle null values.
Stack information (please complete the following information):
@andersekdahl We solved it and created a new release with version 1.1.4
Describe the bug The operator overloads for
BaseMoney
does not handle comparing withnull
here: https://github.com/commercetools/commercetools-dotnet-core-sdk/blob/master/commercetools.Sdk/commercetools.Sdk.Domain/Common/BaseMoney.cs#L33-L61To Reproduce Compare a price with null, like
somePrice == null
.Expected behavior The operator overloads should be able to handle null values.
Stack information (please complete the following information):