trbngr / infusio

Functional Infusionsoft API DSL for .NET
MIT License
4 stars 6 forks source link

EmailStatus not nullable #16

Closed Lann094 closed 6 years ago

Lann094 commented 6 years ago

Just had an error pop up when pulling full contacts, and noticed it occurred on a contact with "email_status": null. Currently EmailStatus isn't nullable, so it won't accept that as valid, even though InfusionSoft is.

The documentation does say the field is optional, so I suspect this case is going to pop up in future as well. I'll look to work around for now, but it'd be great if you could look in to handling these.

trbngr commented 6 years ago

I've updated the Dtos to allow null values in Enums.

Will push to nuget shortly.

Lann094 commented 6 years ago

Legend. Updated and working perfectly. Thanks for being so prompt!