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

Target entity resolver for DQL #1572

Merged
merged 1 commit into from
Dec 11, 2015
Merged

Target entity resolver for DQL #1572

merged 1 commit into from
Dec 11, 2015

Conversation

oprokidnev
Copy link
Contributor

Since we have target entity resolver in doctrine this class check is not enought.
To gain interface resolution it is better to add interface check in addition to class_check here.

Since we have target entity resolver in doctrine this class check is not enought.
To gain interface resolution it is better to add interface check in addition to class_check here.
@Ocramius
Copy link
Member

@oprokidnev the fix seems legit, but it needs to be backed by a test case.

@Ocramius Ocramius self-assigned this Dec 11, 2015
@Ocramius Ocramius added this to the 2.6.0 milestone Dec 11, 2015
@Ocramius Ocramius merged commit 752d4f9 into doctrine:2.5 Dec 11, 2015
Ocramius added a commit that referenced this pull request Dec 11, 2015
Ocramius added a commit that referenced this pull request Dec 11, 2015
Ocramius added a commit that referenced this pull request Dec 11, 2015
Ocramius added a commit that referenced this pull request Dec 11, 2015
@Ocramius
Copy link
Member

@oprokidnev I added tests and merged this into master as well, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants