-
-
Notifications
You must be signed in to change notification settings - Fork 434
Fix regenerate xml #863
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
base: 1.x
Are you sure you want to change the base?
Fix regenerate xml #863
Conversation
@weaverryan can you check this? |
There was a problem hiding this 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; | ||
} |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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?
#207
#579