I would like to be able to validate the metadata somehow. This means that I would need to somehow hook into the MetadataFactory so I can validate the my ClassMetadata before it is returned by getMetadataForClass.
I cannot do this in the driver because ClassMetadata needs to be merged before it is validated. There seems to way to hook into the MetadataFactory after the class hierarchy metadata has been merged.
I would like to be able to validate the metadata somehow. This means that I would need to somehow hook into the MetadataFactory so I can validate the my ClassMetadata before it is returned by
getMetadataForClass.I cannot do this in the driver because ClassMetadata needs to be merged before it is validated. There seems to way to hook into the MetadataFactory after the class hierarchy metadata has been merged.