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

Compatibility with doctrine/mongodb-odm v.2.0; Drop DoctrineClassUtils; #1026

Merged
merged 4 commits into from
Sep 2, 2019
Merged

Compatibility with doctrine/mongodb-odm v.2.0; Drop DoctrineClassUtils; #1026

merged 4 commits into from
Sep 2, 2019

Conversation

shadz3rg
Copy link
Contributor

@shadz3rg shadz3rg commented Aug 30, 2019

Trying to read metadata on a referenced document class (proxy) results in a critical exception.
Since Doctrine\Common\Util\ClassUtils is considered as deprecated:
doctrine/common#867
I suggest this implementation:
https://github.com/api-platform/core/blob/master/src/Util/ClassInfoTrait.php#L38

Util/ClassUtils.php Outdated Show resolved Hide resolved
Util/ClassUtils.php Show resolved Hide resolved
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.

2 participants