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

fix(typespec): fix after_sign spec #375

Merged
merged 1 commit into from
Sep 21, 2022
Merged

Conversation

victorolinasc
Copy link
Collaborator

The after_sign callback receives the result of Joken.Signer.sign and not Joken.encode_and_sign. Therefore the spec was wrong!

Fixes #368

The `after_sign` callback receives the result of `Joken.Signer.sign`
and not `Joken.encode_and_sign`. Therefore the spec was wrong!
@victorolinasc victorolinasc self-assigned this Sep 21, 2022
@victorolinasc victorolinasc merged commit 1a2e96f into main Sep 21, 2022
@victorolinasc victorolinasc deleted the fix/after_sign_spec branch September 21, 2022 13:00
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.

Incorrect spec for Joken.Hooks.after_sign/3 callback
1 participant