square-dotnet-sdk icon indicating copy to clipboard operation
square-dotnet-sdk copied to clipboard

Why are datetime and number properties of type string?

Open clement911 opened this issue 1 year ago • 0 comments

Hi,

I just started using the SDK and I am pretty weirded out that many properties are of type string.

For example Merchant.CreatedAt is a string instead of a DateTime, or InventoryCount.Quantity is a string instead of a decimal.

Are you planning on fixing this?

If not, do you at least provide some sort of helper to convert from/to string?

clement911 avatar Mar 21 '23 03:03 clement911