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

Skip to content

Target entity resolver for DQL#1572

Merged
Ocramius merged 1 commit into
doctrine:2.5from
oprokidnev:patch-1
Dec 11, 2015
Merged

Target entity resolver for DQL#1572
Ocramius merged 1 commit into
doctrine:2.5from
oprokidnev:patch-1

Conversation

@oprokidnev
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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