Go/Golang 图QL的执行情况
#图克勒 [(https://circleci.com/gh/graphql-go/graphql/tree/master) [(ZZURL1Z)] [(ZZURL2Z)] [(ZZZURL3Z)]
在Go中执行GraphQL。
支持:查询,突变和订阅.
页:1
Godoc: https://pkg.go.dev/github.com/graphql-go/graphql (英语).
++ 向后贡献
可以提供友好的提醒链接,以备您想对Go和开源公司的承诺作出贡献。
QQ 作者 QQ PayPal 链接 QQ |:也. [哈菲兹·伊斯梅尔] (https://github.com/sogko) 尚未提供. [克里斯·拉蒙] (https://github.com/chris-ramon) [ZZURL8] |.
开始
要安装库, 请运行 :
(原始内容存档于2019-09-29) (英语). ```bash go get github.com/graphql-go/graphql
以下是一个简单的例子,它定义了一个单“hello”字符串类型字段和返回字符串`world'的“解决办法”方法。 对照这个方案进行GraphQL查询,结果以JSON格式打印。
ZZ1ZZ
对于更复杂的例子,请参见[例 (https://github.com/graphql-go/graphql/tree/master/examples/)目录和 [graphql test.go] (https://github.com/graphql-go/graphql/blob/master/graphql_test.go).
第三方图书馆
名称 作者 描述
|:相去也.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[graphql-relay-go] (https://github.com/graphql-go/graphql-relay-go) [Hafiz Ismail] (https://github.com/sogko) lib构建一个支持ZZTERM0-relay的graphql-go服务器.
[golang-relay-starter-kit] (https://github.com/sogko/golang-relay-starter-kit) [Hafiz Ismail] (https://github.com/sogko) 有G的中继应用程序起讫点为:当消费者停止读取 resultChannel 时,ExecuteSubscription 生产者的 goroutine 会永久泄露(无缓冲发送会忽略 p.Context.Done())
报告安全漏洞
嵌套选择集中没有限制
提高测试覆盖率。
在出现错误时不要丢弃数据
禁用 graphql 建议
OverlappingFieldsCanBeMergedRule 在循环片段扩展时会导致栈溢出
禁用内省
发布新版本
制作新版本 v0.8.2,包含在最新版本 v0.8.1 之后合并的 PR