Skip to content

Added the ability to configure cookie options within a route#260

Merged
mcollina merged 4 commits into
fastify:masterfrom
ogheo:session-cookie-opts
Jul 25, 2024
Merged

Added the ability to configure cookie options within a route#260
mcollina merged 4 commits into
fastify:masterfrom
ogheo:session-cookie-opts

Conversation

@ogheo

@ogheo ogheo commented Jul 4, 2024

Copy link
Copy Markdown
Contributor

This PR add the ability to configure cookie options within a route. Relates to #257

Checklist

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina requested a review from gurgunday July 8, 2024 16:42
Comment thread lib/session.js Outdated

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@gurgunday gurgunday left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

#260 (comment) needs resolution

Co-authored-by: Gürgün Dayıoğlu <[email protected]>
Signed-off-by: Oleg Gheorghita <[email protected]>

@gurgunday gurgunday left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me

One last thing, can you also add this test that tests the feature with regenerate?

Thanks

@ogheo

ogheo commented Jul 10, 2024

Copy link
Copy Markdown
Contributor Author

@gurgunday, I updated Override global options test with regenerate changes, is that ok or would you like to add it as a separate test?

@gurgunday gurgunday left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@ogheo

ogheo commented Jul 25, 2024

Copy link
Copy Markdown
Contributor Author

@mcollina @gurgunday can we merge or something else is required?

@mcollina mcollina merged commit 2a0ffbe into fastify:master Jul 25, 2024
@ogheo ogheo deleted the session-cookie-opts branch July 25, 2024 13:48
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants