Skip to content

Use doctrine persistence names #38

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

Conversation

lcobucci
Copy link
Contributor

This enables us to support features from both ORM and ODM.

Depends on #37

@lcobucci lcobucci force-pushed the use-doctrine-persistence-names branch from 56723e5 to fc9a633 Compare August 18, 2018 16:57
The methods `EntityManagerInterface#getReference()` and
`EntityManagerInterface#getPartialReference()` have nullable return.

That's properly documented for `getReference()` but had to be fixed for
`getPartialReference()`.
So that things would be compatible with both ORM and ODM.
@lcobucci lcobucci force-pushed the use-doctrine-persistence-names branch from fc9a633 to cd96d32 Compare August 18, 2018 20:15
}

return $type;
return TypeCombinator::addNull(new ObjectType($argType->getValue()));
Copy link

Choose a reason for hiding this comment

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

@lookyman
Copy link
Contributor

lookyman commented Nov 9, 2018

LGTM 😊

@ondrejmirtes
Copy link
Member

Merged as acada90, thank you!

@lcobucci lcobucci deleted the use-doctrine-persistence-names branch November 23, 2018 14:16
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.

4 participants