hellosign / hellosign-dotnet-sdk

A .NET SDK for the HelloSign API
MIT License
26 stars 29 forks source link

Initial stab at form fields #12

Closed jordanwallwork closed 8 years ago

jordanwallwork commented 8 years ago

Drafted attempt at implementing FormFieldsPerDocument on SignatureRequest (inc. sample usage code in test app)

jordanwallwork commented 8 years ago

(ref #11)

BHSPitMonkey commented 8 years ago

Thank you for this. Apologies for the delay so far, but I will need to find some time to review and consider these changes before merging as they're somewhat extensive. I'll be sure to update you when I do.

cmpaul commented 8 years ago

@BHSPitMonkey @jordanwallwork This looks reasonable to me. :+1:

BHSPitMonkey commented 8 years ago

@jordanwallwork - Your changes have been merged, but I made some adjustments to get it working and to add support for validation_type. The main issues were

These changes will slightly break any code you've written that uses your new APIs, so be sure to review README.md or the test app source code to see what's changed.

Thanks again for the contribution!

jordanwallwork commented 8 years ago

Excellent cheers guys. Regarding the enums, wouldn't the StringEnumConverter do what you wanted? You'd simply need to decorate the attribute with [JsonConverter(typeof(StringEnumConverter))]