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 SignedCookieJar with custom key type #899

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

davidpdrsn
Copy link
Member

There were several things wrong with it:

  • It always extracted Extension<Key> instead of using the custom type.
  • IntoResponseParts was only implemented for SignedCookieJar<Key>.

This fixes that and adds a test for it.

@davidpdrsn davidpdrsn force-pushed the fix-signed-cookies-with-custom-key-type branch from ace7432 to be0194b Compare April 1, 2022 09:29
@davidpdrsn davidpdrsn enabled auto-merge (squash) April 1, 2022 09:30
@davidpdrsn davidpdrsn merged commit da3ca22 into main Apr 1, 2022
@davidpdrsn davidpdrsn deleted the fix-signed-cookies-with-custom-key-type branch April 1, 2022 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants