We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infer this JSON (to pretty-print it, pipe it into jq or schema translate or python -m json.tool) with --graphql:
jq
schema translate
python -m json.tool
--graphql
{"templates":[{"name":"data","filePath":"data.csv","schema":{"filePath":""}},{"name":"config","filePath":"config.toml","schema":{"filePath":""}}],"instances":[{"filePath":"data-2000.csv","templateName":["data"],"schema":{"filePath":""}},{"filePath":"data-2001.csv","templateName":["data"],"schema":{"filePath":""}},{"filePath":"data-2002.csv","templateName":["data"],"schema":{"filePath":""}},{"filePath":"config_dev.toml","templateName":["config","data"],"schema":{"filePath":""}},{"filePath":"mysingletoner","templateName":["config"],"schema":{"filePath":""}}],"singletons":[{"filePath":".gitignore"}],"noGit":false}
schema infer --graphql yields this output:
schema infer --graphql
type Schema { filePath: String! } type Templates { name: String! filePath: String! schema: Schema! } type Schema { filePath: String! } type Instances { templateName: [String!]! schema: Schema! filePath: String! } type Singletons { filePath: String! } type Object { templates: [Templates!]! instances: [Instances!]! singletons: [Singletons!]! noGit: Boolean! }
which has two definitions of the Schema type.
Schema
To fix this bug, we need to
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Infer this JSON (to pretty-print it, pipe it into
jq
orschema translate
orpython -m json.tool
) with--graphql
:schema infer --graphql
yields this output:which has two definitions of the
Schema
type.To fix this bug, we need to
The text was updated successfully, but these errors were encountered: