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

Use HTTPName for cookies in response encoders #3362

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

sevein
Copy link
Contributor

@sevein sevein commented Sep 21, 2023

I believe this was an oversight in 27c249f (included in v3.12.0 and newer),
breaking cookie name mapping to some extent.

The upgrade to v3.12.1 in the cookie example shows how the name assigned to the
cookie inadequately changes from SID (cookie name) to session_id` (attr name).

goadesign/examples@45ca835#diff-c31b43a7b7656de4c0d63b7ac526bfbad82aa335c79f08e186f5d78c6ddc0802R97

@raphael
Copy link
Member

raphael commented Sep 22, 2023

That makes sense, thank you! Would you mind rebasing onto the latest v3, that should fix the build hopefully...

I believe this was an oversight in 27c249f (included in v3.12.0 and newer),
breaking cookie name mapping to some extent.

The upgrade to v3.12.1 in the cookie example shows how the name assigned to the
cookie inadequately changes from `SID` (cookie name) to session_id` (attr name).

goadesign/examples@45ca835#diff-c31b43a7b7656de4c0d63b7ac526bfbad82aa335c79f08e186f5d78c6ddc0802R97
@sevein
Copy link
Contributor Author

sevein commented Sep 22, 2023

Works now, thank you @raphael!

@raphael raphael merged commit bad408f into goadesign:v3 Sep 22, 2023
7 checks passed
@sevein sevein deleted the dev/cookie-http-name branch September 23, 2023 19:31
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.

2 participants