Endpoints to delete mappings and packages#16
Conversation
|
@cybernop: Das mit dem Löschen von Packages gestaltet sich doch noch schwieriger als gedacht. Problem ist, dass ich entweder beim Löschen auch direkt die in-memory Mappings und Comparisons entfernen müsste. Leider ist mir da die Datenstruktur nicht so wirklich geläufig, weshalb ich es dann mit einem Neuladen der config.json probiert habe. Das scheint relativ langsam zu sein, funktioniert aber generell. |
There was a problem hiding this comment.
I think we should discuss about how we should delete. IMO we should only allow deleting a package if it is not used in a mapping or comparison. In that way the user needs to check if the package is used and explicitly remove those comparisons and mappings.
Also please fix the formatting the check complained about :)
|
Further improvements of the checks will be done in #20 |
No description provided.