-
-
Notifications
You must be signed in to change notification settings - Fork 446
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
Register PdoSessionHandlerSchemaSubscriber #1569
Register PdoSessionHandlerSchemaSubscriber #1569
Conversation
4681eb8
to
7a00e16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but should go to 2.8.x. And should be merged only after upstream PR is merged.
7a00e16
to
2186954
Compare
2186954
to
133aeb0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR @alli83
I force-pushed on your fork to sync with changes I made on symfony/symfony#48059
Can you please have a look at CI failures, once my comment is resolved?
🙏
Thanks. yes, of course! |
…en pdo handler is used (alli83) This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [HttpFoundation] Create migration for session table when pdo handler is used | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | The purpose of this PR is to automatically generate the session table with the make migration command in addition to https://symfony.com/doc/current/session/database.html#preparing-the-database-to-store-sessions Even though `WellKnownSchemaFilterPass` is deprecated, atm the session table is blacklisted by the `WellKnownSchemaFilterPass`, that's why I need to set the SchemaAssetFilter to null. todo: - [ ] doctrineBundle => doctrine/DoctrineBundle#1569 - [x] Add mention to changelog - [ ] update documentation Commits ------- aebdc58 [HttpFoundation] Create migration for session table when pdo handler is used
…en pdo handler is used (alli83) This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [HttpFoundation] Create migration for session table when pdo handler is used | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | The purpose of this PR is to automatically generate the session table with the make migration command in addition to https://symfony.com/doc/current/session/database.html#preparing-the-database-to-store-sessions Even though `WellKnownSchemaFilterPass` is deprecated, atm the session table is blacklisted by the `WellKnownSchemaFilterPass`, that's why I need to set the SchemaAssetFilter to null. todo: - [ ] doctrineBundle => doctrine/DoctrineBundle#1569 - [x] Add mention to changelog - [ ] update documentation Commits ------- aebdc581fa [HttpFoundation] Create migration for session table when pdo handler is used
…en pdo handler is used (alli83) This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [HttpFoundation] Create migration for session table when pdo handler is used | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | The purpose of this PR is to automatically generate the session table with the make migration command in addition to https://symfony.com/doc/current/session/database.html#preparing-the-database-to-store-sessions Even though `WellKnownSchemaFilterPass` is deprecated, atm the session table is blacklisted by the `WellKnownSchemaFilterPass`, that's why I need to set the SchemaAssetFilter to null. todo: - [ ] doctrineBundle => doctrine/DoctrineBundle#1569 - [x] Add mention to changelog - [ ] update documentation Commits ------- aebdc581fa [HttpFoundation] Create migration for session table when pdo handler is used
…en pdo handler is used (alli83) This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [HttpFoundation] Create migration for session table when pdo handler is used | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | The purpose of this PR is to automatically generate the session table with the make migration command in addition to https://symfony.com/doc/current/session/database.html#preparing-the-database-to-store-sessions Even though `WellKnownSchemaFilterPass` is deprecated, atm the session table is blacklisted by the `WellKnownSchemaFilterPass`, that's why I need to set the SchemaAssetFilter to null. todo: - [ ] doctrineBundle => doctrine/DoctrineBundle#1569 - [x] Add mention to changelog - [ ] update documentation Commits ------- aebdc581fa [HttpFoundation] Create migration for session table when pdo handler is used
Upsteam is now merged :) |
97e4d55
to
ac6361b
Compare
ebcb76d
to
930a708
Compare
29c077f
to
9699326
Compare
9699326
to
779da5a
Compare
I this ready to be merged or do we wait for the 6.3 release? |
It seems safe to merge it given the conditional removal of the definition |
I was thinking of maybe adding some documentation but I don't think it belongs here so I will make an other PR on symfony-docs repo instead |
Documentation regarding this bundle is maintain in this repository. Don't hesitate to add it to the PR. |
What I don't understand (if it's possible to enlighten me) is that the changes made on the WellKnownSchemaFilterPass is more of an "internal operation" that will depend on what has been done on the PdoSessionHandlerSchemaSubscriber and consequently on the PdoSessionHandler Class in the Symfony repo. I'm having a little trouble understanding the point of the documentation at this level. |
link to PR symfony/symfony#48059