bug: Can't interact with objects related to a repository that doesn't exist anymore #4332
Labels
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, Git Integration
Infrahub version
0.16.0
Current Behavior
I tried to delete a GraphQL query (using UI or GraphQL client) related to a repository that doesn't exist anymore.
UI is broken and when trying to delete the object using Graphiql client it fails as well complaining that related repository doesn't exist anymore.
Other objects for instance
check definition
are impacted as well.Expected Behavior
I expect to be able to list and delete those objects even tho the related repository doesn't exist anymore. Or alternatively, object is deleted at the same time as the related repository (as described in issue #3076)
Steps to Reproduce
Additional Information
It's important to run check through proposed change once to reproduce the bug
The text was updated successfully, but these errors were encountered: