hasura / hasura/graphql-engine
cli: improve errors returned by CLI
Open
c/cli
k/enhancement
t/cli
t/product-platform
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
Currently, most of the errors returned from CLI are raw responses from the server, this is not ideal.
For example, if we are applying metadata, the error returned will be a raw response from the server with line numbers corresponding to the JSON metadata, which is not useful from the CLI project context where it is split into YAML files.
CLI should probably enrich errors from the server with context it has.
Contributor guide
Assessment
This issue has not been assessed yet.