docusign-esign-java-client icon indicating copy to clipboard operation
docusign-esign-java-client copied to clipboard

SDK is not typesafe

Open jasonrberk opened this issue 2 years ago • 1 comments

seems like the whole point of an SDK in Java is invalidated when it's not typesafe.

I created https://stackoverflow.com/questions/74689092/why-is-the-docusign-java-sdk-is-not-typesafe as well.

at the very least, this would be a very nice improvement

Thoughts?

jasonrberk avatar Dec 05 '22 13:12 jasonrberk

Jason,

The SDK does not have constants for these values but I understand why that would be useful. For added visibility you can also submit it as an idea here: https://feedback.docusign.com/forums/936834-apis

Koll DocuSign Developer Support

kollDocuSign avatar Dec 07 '22 14:12 kollDocuSign

Hi,

We appreciate you bringing this up, @jasonrberk .

You're absolutely right; type safety is a crucial aspect of a modern SDK, and we understand the frustration of working with a non-typesafe one. We acknowledge the Stack Overflow question you linked (https://stackoverflow.com/questions/74689092/why-is-the-docusign-java-sdk-is-not-typesafe) and recognize the value typesafety brings to the developer experience.

However, introducing type safety to the existing SDK would necessitate significant changes, potentially resulting in breaking changes for existing APIs. While this is a desirable improvement for the future, it requires careful consideration due to its impact on current users.

Rest assured, we are keeping type safety in mind when developing future Docusign APIs. We'll continue to explore ways to improve the type safety of our SDK while maintaining compatibility with existing integrations.

In the meantime, if you have any other suggestions, please don't hesitate to share them. Your feedback is valuable in guiding future development.

Thanks, Vinay

vinz avatar May 30 '24 06:05 vinz