Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for additional fields in SignRequest #919

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Conversation

arjankowski
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Mar 7, 2024

Coverage Status

coverage: 88.735% (+0.002%) from 88.733%
when pulling ae8237c on SDK-3517
into a05b243 on main.

mwwoda
mwwoda previously approved these changes Mar 8, 2024
Copy link
Contributor

@mwwoda mwwoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Please also check comments

expect(signRequest?.redirectUrl).to(equal(signParameters.redirectUrl))
expect(signRequest?.declinedRedirectUrl).to(equal(signParameters.declinedRedirectUrl))
expect(signRequest?.parentFolder.id).to(equal(rootFolder.id))
expect(signRequest?.signFiles?.files?.count).to(equal(2))
// first signer is the sender with role final_copy_reader, second and third is the recipient with role signer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it also possible to assert roles in this test?

@@ -77,6 +77,22 @@ public class SignRequestSigner: BoxModel {
public let redirectUrl: String?
/// The URL that a signer will be redirect to after declining to sign a document.
public let declinedRedirectUrl: String?
/// This URL is specifically designed for signing documents within an HTML `iframe` tag.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space between "for" and "signing". I saw it's like this in the spec so maybe we shouldn't care about it.

@mwwoda
Copy link
Contributor

mwwoda commented Mar 8, 2024

Also consider another name for this PR as it's adding much more than a single field

@arjankowski arjankowski changed the title feat: Add support for signer_group_id field in SignRequest feat: Add support for additional fields in SignRequest Mar 8, 2024
Copy link
Contributor

@mwwoda mwwoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@arjankowski arjankowski merged commit 36f464c into main Mar 8, 2024
8 checks passed
@arjankowski arjankowski deleted the SDK-3517 branch March 8, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants