Refactoring discussions
Directories and namespaces
-
Namespace and location of QueryInput
,QueryResult
andQueryBuilder
(currentlyarmem::client::
) -
Move armem/query
into "server area" (this is where queries are processed, not built) -
Rename directory armem/component
into something likeserver
? Create aserver
namespace (similar toclient
)? - see below
Code style
-
Use using
instead of typedef
Design
-
Use values instead of std::unique_ptr
in Memory data structure -
Use std::filesystem::path
inEasyStringEntityHistory
-
[Rejected] Store type information in EntityInstance
. Maybe also inEntity
andEntitySnapshot
. (To this end,TypedEntityContainer
could be made independent ofEntityContainer
, as its only a member + some functions.)
DiskWriter
-
Avoid creating a directory in DiskWriter
(default) constructor -
Add a DiskWriter.cpp
-
Add virtual destructors ( DiskWriter
,NlohmannJSONDiskWriter
)
Edited by Rainer Kartmann