Skip to content

Conversation

jhonaikerf
Copy link

@jhonaikerf jhonaikerf closed this Apr 19, 2021
@jhonaikerf jhonaikerf reopened this Apr 19, 2021
@jhonaikerf
Copy link
Author

@weaverryan can you check this?

Copy link
Member

@weaverryan weaverryan left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @jhonaikerf and sorry for the slow review. Mostly, we need some tests that show what you're fixing with these changes.

Thanks!


if (\in_array($fieldName, $traitProperties) || isset($mapping['declared'])) {
continue;
}
Copy link
Member

Choose a reason for hiding this comment

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

Can you explain this a bit? And we'll need a test case that shows what this is fixing :)

$loaded = $this->isInstanceOf($cmf, AbstractClassMetadataFactory::class) ? $cmf->getLoadedMetadata() : [];
}

foreach ($loaded as $m) {
Copy link
Member

Choose a reason for hiding this comment

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

Can you include the test case from #579 so we can see that it's passing?

@jrushlow jrushlow added the Status: Needs Work Additional work is needed label Jul 30, 2021
@jrushlow jrushlow added the Bug Bug Fix label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix Status: Needs Work Additional work is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants