Giter VIP home page Giter VIP logo

Comments (8)

cmpaul avatar cmpaul commented on September 22, 2024

Thanks @sjbog .

I'd like to make some more fundamental changes to the SDK to support this sort of thing, but a quick fix might be to update the parameter type accepted by HelloSignClient.sendSignatureRequest() from SignatureRequest to AbstractRequest. This would allow you to submit an EmbeddedRequest, which is just a wrapper around SignatureRequest and also supplies a client_id.

I created a branch to test this out. Can you take a look and let me know if this would work for you?

https://github.com/HelloFax/hellosign-java-sdk/tree/request_with_clientid

Specifically:
1370009

from hellosign-java-sdk.

sjbog avatar sjbog commented on September 22, 2024

@cmpaul your approach would work, but it's confusing since the API reference differentiates embedded (signing) & signature request.

from hellosign-java-sdk.

cmpaul avatar cmpaul commented on September 22, 2024

@sjbog Agreed, it's not the clearest...

In that case, let's add an additional overloaded function for HelloSignClient.sendSignatureRequest to accept both a SignatureRequest and a string client_id. I can do that in the next day or so.

from hellosign-java-sdk.

sjbog avatar sjbog commented on September 22, 2024

Why can't client_id be added to the SignatureRequest? eg to follow the API docs

from hellosign-java-sdk.

cmpaul avatar cmpaul commented on September 22, 2024

@sjbog Yeah, that does make sense and pretty much eliminates the need for EmbeddedSignatureRequest, which is along the lines of what I was mentioning earlier about wanting to do some refactoring. I really like the idea of deprecating/simplifying that.

Let me throw something together...

from hellosign-java-sdk.

cmpaul avatar cmpaul commented on September 22, 2024

@sjbog Take a look at that PR above and let me know if that will work for you.

from hellosign-java-sdk.

sjbog avatar sjbog commented on September 22, 2024

Thank you @cmpaul, PR seems good, +1

from hellosign-java-sdk.

cmpaul avatar cmpaul commented on September 22, 2024

@sjbog Done!

Please see v3.4.2 for the new capability and let me know if you have any issues. Thanks for your help!

from hellosign-java-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.