❯ hasura version
INFO hasura cli version=v2.0.1
Explanation
Exporting metadata from the hasura server adds a space between the key and the colon in custom types. This seems like a strange formatting and also causes syntax highlighting in at least VSCode to not recognize the code.
Behavior
# actions.graphql
# Extra space added
type MyCustomActionResult {
key1 : String
key2 : String
}
Expectation
# actions.graphql
# No extra space
type MyCustomActionResult {
key1: String
key2: String
}