bug: cannot delete a parent node when it inherits a component relationship from a generic #4780
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
priority/2
This issue stalls work on the project or its dependents, it's a blocker for a release
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
1.0.0.dev.0
Current Behavior
If you have a schemanode that inherits from a generic that defines a relationship of kind "Component". Then you will be unable to delete the parent node.
You are unable to delete the parent node because it seems that the cascading delete of related nodes doesn't seem to properly work in this case. Hence we violate the requirement of the parent relationship in the other direction.
Expected Behavior
You are able to delete nodes, that inherit component relationships from a generic
Steps to Reproduce
Additional Information
No response
The text was updated successfully, but these errors were encountered: