Deleting a network should delete all dependent resources #7
Labels
good first issue
help wanted
kind/bug
Categorizes issue or PR as related to a bug.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon.
Description
Deleting a network (or more generally, deleting a resource) should delete all dependent resources.
Steps to Reproduce
create net neo
delete net neo
Expected behavior: Automatically created wallet "master" should be deleted.
Actual behavior: It is not.
Reproduces how often: 100%
Versions
v0.0.1
Additional Information
We could implement this plugin by plugin, but it might be nice to have a generic cleanup call for resources. I.e. a declarative way for a plugin to tell the server framework that the resource it just created is dependent on another resource, and to delete it if the other resource is deleted. Perhaps it should also extend to stopping and starting? Marked as a bug in addition to an enhancement because it causes weird behavior in the cli.
The text was updated successfully, but these errors were encountered: