1 Star 0 Fork 19

w3c/ng-notadd

forked from Notadd/ng-notadd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
graphql.config.json 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
天魂 提交于 2018-10-26 11:48 . feat(app): add graphql support
{
"README_schema" : "Specifies how to load the GraphQL schema that completion, error highlighting, and documentation is based on in the IDE",
"schema": {
"README_file" : "Remove 'file' to use request url below. A relative or absolute path to the JSON from a schema introspection query, e.g. '{ data: ... }' or a .graphql/.graphqls file describing the schema using GraphQL Schema Language. Changes to the file are watched.",
"file": "graphql.schema.json",
"README_request" : "To request the schema from a url instead, remove the 'file' JSON property above (and optionally delete the default graphql.schema.json file).",
"request": {
"url" : "http://--graphql-server--/path-to-schema-json-or-introspection-endpoint",
"method" : "POST",
"README_postIntrospectionQuery" : "Whether to POST an introspectionQuery to the url. If the url always returns the schema JSON, set to false and consider using GET",
"postIntrospectionQuery" : true,
"README_options" : "See the 'Options' section at https://github.com/then/then-request",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
},
"README_endpoints": "A list of GraphQL endpoints that can be queried from '.graphql' files in the IDE",
"endpoints" : [
{
"name": "Default (http://localhost:3000/graphql)",
"url": "http://localhost:3000/graphql",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ifengread/ng-notadd.git
git@gitee.com:ifengread/ng-notadd.git
ifengread
ng-notadd
ng-notadd
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385