Closed qooplmao closed 8 years ago
When extending a class the ClassMetadata gets reset by the with those from the parent. Using the merge method merges (obviously) the sets of metadata together so that the annotations from the child aren't cancelled out by those in the parents.
merge
👍 Looks good, thanks @qooplmao!
I really need to write a proper test suite for this bundle 😛
When extending a class the ClassMetadata gets reset by the with those from the parent. Using the
merge
method merges (obviously) the sets of metadata together so that the annotations from the child aren't cancelled out by those in the parents.