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?)
when doing this, we should also fix MappedSuperclass annotation to support all attributes the Document has. in xml mappings mapped-superclass extends document