Skip to content

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

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

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

Conversation

@ogheo
Copy link
Copy Markdown
Contributor

@ogheo ogheo commented Jul 4, 2024

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

Checklist

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

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
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

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 <hey@gurgun.day>
Signed-off-by: Oleg Gheorghita <ogheo@users.noreply.github.com>
Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

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
Copy link
Copy Markdown
Contributor Author

ogheo commented Jul 10, 2024

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

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

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

lgtm

@ogheo
Copy link
Copy Markdown
Contributor Author

ogheo commented Jul 25, 2024

@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
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