Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
core::Repository is inherited from SerializableComponent which is an unneeded dependency. SerializableComponent contains a lot of member functions that are not used in core::Repository and in multiple repository implementations these serialization methods aren't doing actual serialization. The serialization and deserialization semantics are also mixed up in these implementations.
The inheritance should be removed and the actual implementations in core::Repository child implementations should be renamed to reflect the actual functionality. Where SerializableComponent is actually implemented, for example in
ProvenanceEventRecord, it should be revised to see if all Serialize/Deserialize overloads are needed.
Attachments
Issue Links
- depends upon
-
MINIFICPP-2024 Clean up repository inheritance hierarchy
- Resolved
- is depended upon by
-
MINIFICPP-2022 Add valid repository size metrics for all repositories
- Resolved