Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DoctrineBridge] Fixed DoctrineType::reset to handle IdReaders #34609

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

Closed
wants to merge 1 commit into from

Conversation

HeahDude
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets ~
License MIT
Doc PR ~

Follow up #24232, spotted while working on #30994.

@@ -282,6 +282,7 @@ public function getParent()

public function reset()
{
$this->idReaders = [];
Copy link
Member

Choose a reason for hiding this comment

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

Oh: won't this prevent caching between requests thus reduce perf while it's not needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, the readers are not depending on the request context, nor time sensitive. Closing here.

@HeahDude HeahDude closed this Dec 2, 2019
@HeahDude HeahDude deleted the fix-doctrine_type-reset branch December 2, 2019 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants