Skip to content

feat: Add support for additional fields in SignRequest - #919

Merged
arjankowski merged 2 commits into
mainfrom
SDK-3517
Mar 8, 2024
Merged

arjankowski merged 2 commits into
mainfrom
SDK-3517

Conversation

@arjankowski

Copy link
Copy Markdown
Contributor

No description provided.

@coveralls

coveralls commented Mar 7, 2024 •

Copy link
Copy Markdown

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

@mwwoda mwwoda left a comment

Copy link
Copy Markdown
Contributor

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?.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
Copy Markdown
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?

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
Copy Markdown
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

mwwoda commented Mar 8, 2024 •

Copy link
Copy Markdown
Contributor

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

@mwwoda mwwoda left a comment

Copy link
Copy Markdown
Contributor

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
@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