Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Labels:None
Description
documents extending other documents should inherit the global attributes unless overwritten explicitly.
for example, having @Document(referenceable=true) should be kept for an extending class unless it explicitly sets it to false. currently, attributes are reset on each new @Document tag. (i assume we have the same issue for xml/yml mapping?)
this is fixed for referenceable in https://github.com/doctrine/phpcr-odm/pull/185