graphql-engine/cli/pkg
Kali Vara Purushotham Santhati c6d47a7db3 cli: use server metadata as base for comparison in metadata diff
Reference: https://hasurahq.slack.com/archives/C024GF6FCTH/p1629193174042700

Problem: The `metadata diff` is conventional where it takes the project metadata and w.r.t to the signs `---`, `+++`, it shows the diff output but it is not similar to git diff as taking the remote repo as base and `+` denotes it has, `-` not. So make the metadata diff output follow as git diff output

Solution: To change the order of arguments in diff function and assign `---` to server,`+++` to project, so that it will be similar to prev diff output

https://github.com/hasura/graphql-engine-mono/pull/2166

GitOrigin-RevId: bf35b5a3ef835fc64f590b65160c01c9a8c1382a
2021-08-24 03:25:05 +00:00
..
console cli: update go.mod 2021-06-16 11:45:07 +00:00
metadata cli: use server metadata as base for comparison in metadata diff 2021-08-24 03:25:05 +00:00
migrate cli: improve cli package error propogation in migrate operations 2021-08-16 06:44:05 +00:00