Metadata errors are not debuggable #7479
Unanswered
jayrbolton-karius
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running
hasura metadata apply
with the following contents in mydatabases/databases.yaml
file, which I'm basing off of the docs found here: https://hasura.io/docs/latest/graphql/core/migrations/reference/metadata-format.html#databases-yamlI get this error:
Which doesn't give me useful information. Where should this key go? What file? What data path?
If I wrap my databases array in a
sources:
key, then I getWhich is even less useful than the first error. I found this struct in the source:
graphql-engine/cli/internal/metadataobject/sources/sources.go
Line 26 in 33d6025
hasura metadata export
in my repo root. I guess I'll avoid manually editing any yaml files :/My feedback on what would be useful improvements:
hasura metadata validate
command with useful errorsBeta Was this translation helpful? Give feedback.
All reactions