imag/lib/domain
Matthias Beyer cb4d5367e4 Rewrite all usages of ModuleEntryPath
Because the code was so complex before, we had to create an object and
then cast that object into a `StoreId` rather than just creating a
`StoreId` object right away.

With this patch, we're using the code-generation approach to generate a
function that creates a `StoreId` object based on the name of the
current module. That's way easier and error handling was also improved
by the switch to the new implementation.

The patch also includes a rewrite of all usages of ModuleEntryPath and
changes them to `module_path::new_id()` calls.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-04-13 22:39:39 +02:00
..
libimagbookmark Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimagcontact Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimagdiary Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimaghabit Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimaglog Update copyright years 2019-01-03 18:41:36 +01:00
libimagmail Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimagnotes Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimagtimetrack Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimagtodo Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00
libimagwiki Rewrite all usages of ModuleEntryPath 2019-04-13 22:39:39 +02:00