hasura / hasura/graphql-engine

better error message on downgrade

Open
#4,592 2 comments 0 reactions 0 assignees View on GitHub
c/server
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

If I run the downgrade command:

`
$ docker run -e HASURA_GRAPHQL_DATABASE_URL=$DATABASE_URL hasura/graphql-engine:v1.2.0 graphql-engine downgrade --to-v1.1.1
`

The response is:

`MRMigrated "34"`

Two problems here:

1. The catalog version shows the downgrade-from version and not the downgraded-to version.
2. The message itself is not useful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.