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

Model classes should be serializable

Open NicolaIsotta opened this issue 10 months ago • 1 comments

As the title says, all classes under the com.docusign.esign.model should implement java.io.Serializable

NicolaIsotta avatar Apr 09 '24 13:04 NicolaIsotta

Hello @NicolaIsotta

Thank you very much for your comment, I will contact the development team to review this issue.

Regards,

Eric | DocuSign

DocuSignEric avatar Apr 09 '24 19:04 DocuSignEric

Hi @NicolaIsotta

This is Vinay from the development team.

Thank you for the suggestion. We would like to learn more about the current impact because of this. Can you please share some details on the same.

Thank you, Vinay

vinz avatar May 21 '24 04:05 vinz

In CDI environments, some scopes (View, Session, Conversation, Application) requires classes to be serializable.

NicolaIsotta avatar May 21 '24 07:05 NicolaIsotta

Thanks for sharing the details. We are looking further into this. Will keep you posted.

vinz avatar May 24 '24 07:05 vinz

Hi @NicolaIsotta We're actively working on a fix to implement java.io.Serializable for these classes and it will be included in a future release. We'll be sure to update this issue with more details as the fix progresses. In the meantime, if you have any further questions or require a workaround, don't hesitate to let us know!

vinz avatar May 28 '24 04:05 vinz

Thanks for the update.

NicolaIsotta avatar May 28 '24 07:05 NicolaIsotta

Hi @NicolaIsotta ,

Happy to report that the fix is now included in latest docusign-esign-java SDK:

https://central.sonatype.com/artifact/com.docusign/docusign-esign-java.

Please check and revert so that we can close this github issue.

Thanks, Vinay

vinz avatar Jul 01 '24 06:07 vinz

I verified that the fix is ​​included in the latest version

NicolaIsotta avatar Jul 01 '24 08:07 NicolaIsotta