hasura / hasura/graphql-engine
Format dependent objects list in untrack failure error message
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Problem
When I want to untrack a table that has many dependent objects like relationships, it's hard to read what all of those objects are because the error message is not formatted.

### Proposed Solution
This error message would be easier to read if there was a separate line, and possibly a bullet point, for each individual object in the list. For example:
> cannot drop due to the following dependent objects:
> - relationship ArticlesToArea.area in source "default", relationship Company.area in source "default"
> - relationship Event.area in source "default", relationship EventPro.area in source "default"
> ...
> - relationship app.users.area in source "default"
### Alternatives Considered
Sometimes, I just copy this output and paste it into another window to read more easily. Otherwise, I just read through the error output more slowly than I would be able to with an easier to read format.
Contributor guide
Assessment
This issue has not been assessed yet.