Skip to content

[9.x] Add session decorator #40378

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

Merged
merged 4 commits into from
Jan 13, 2022
Merged

[9.x] Add session decorator #40378

merged 4 commits into from
Jan 13, 2022

Conversation

taylorotwell
Copy link
Member

@taylorotwell taylorotwell commented Jan 12, 2022

Decorate Symfony session store when needed.

This is required because Symfony 6 adds a SessionInterface return type on Symfony 6 - so any packages or code interacting directly with $request->getSession() are currently broken on Laravel 9 because the getSession method is entirely broken. This fixes that by decorating our session behind a compatible implementation when getSession is called.

@taylorotwell taylorotwell changed the base branch from master to 9.x January 12, 2022 22:36
@driesvints driesvints changed the title Add session decorator [9.x] Add session decorator Jan 13, 2022
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