Skip to content

Fix documentLoader variable name when passing to derive function #129

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

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

PatStLouis
Copy link
Collaborator

Should fix context issues we have been experiencing, the document loader class wasn't being passed properly and was getting overwritten.

Signed-off-by: PatStLouis <patrick.st-louis@opsecid.ca>
@PatStLouis PatStLouis requested a review from BigBlueHat January 27, 2025 17:33
@@ -41,7 +41,7 @@ export async function issueCloned({
}
return deriveCloned({
verifiableCredential,
documentLoader: loader,
loader,

Choose a reason for hiding this comment

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

It might make more sense to call the param documentLoader in these APIs. That's more invasive and would break callers, but it would make the param name align through the stack.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed however this is from the jsigs library so would have to be tackled separately.

@PatStLouis PatStLouis merged commit 0ba960c into main Jan 27, 2025
1 of 2 checks passed
@PatStLouis PatStLouis deleted the derive-credential-document-loader-inheritence branch January 27, 2025 18:15
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