feat: add ability to dry run adding a new location

The location is now added in a transaction and afterwards rolled back. This allows users to dry run this operation to see if there entity has issues. This is probably done my automated tools.
This commit is contained in:
Oliver Sand
2020-10-21 09:34:43 +02:00
parent ef9358c36e
commit 948052cbb4
16 changed files with 378 additions and 138 deletions
@@ -122,6 +122,7 @@ export default async function createPlugin({
entitiesCatalog,
locationsCatalog,
locationReader,
db,
logger,
);