avadev / AvaTaxClientLibrary

Sales Tax API SDK for C# / DotNet and AvaTax REST
https://developer.avalara.com/sdk/
Apache License 2.0
4 stars 14 forks source link

Added fix for handling Byte parameters. #57

Closed greg-hester-avalara closed 6 years ago

greg-hester-avalara commented 6 years ago

@ted-spence-avalara Here's the bug I found in the SDK generator. If I'm understanding what was going on correctly; it appeared that previously Byte handling was a special case and was only being used for the Batch model. The new Audit Account API now also has a Byte type parameter. That was causing the SDK to throw an error on call when trying to convert the JSON from a byte to byte[]. I kind of hacked a solution together. Take a look when you get a chance. We can edit if necessary.

ted-spence-avalara commented 6 years ago

LGTM