Skip to content
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

[GH-6396] Allow custom hydrators access to meta columns #8382

Merged

Conversation

beberlei
Copy link
Member

@beberlei beberlei commented Dec 8, 2020

Via the Query::HINT_INCLUDE_META_COLUMNS hint you can now always get access to meta columns regardless of type of hydrator. The query hint is not used in the code base right now.

This is a different approach than what #6396 proposes, but that is necessary to get this backwards compatible. By automatically passing this now for ObjectHydrator sub classes we could break existing code.

Fixes #6396

@beberlei beberlei added this to the 2.9.0 milestone Dec 8, 2020
@beberlei beberlei force-pushed the GH-6396-MetaColumnsInObjectHydratorSubClasses branch from 4883aa1 to fd9985d Compare December 8, 2020 01:45
@beberlei beberlei merged commit f8e06ad into doctrine:2.9.x Apr 16, 2021
@beberlei beberlei deleted the GH-6396-MetaColumnsInObjectHydratorSubClasses branch April 16, 2021 19:27
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.

1 participant