99designs / 99designs/gqlgen

Typo in documentation in "gqlgen/docs/content/reference/changesets.md"

未关闭 适合新手
#1,951 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
10.8k
派生
1.3k
平均合并
2 天 36 分钟
30 天内合并 PR
26

描述

### What happened?
Typo in gqlgen/docs/content/reference/changesets.md
```graphql
type Mutation {
updateUser(id: ID!, changes: UserChanges!): User
}

type UserChanges {
name: String
email: String
}
```

### What did you expect?
```graphql
type Mutation {
updateUser(id: ID!, changes: UserChanges!): User
}

input UserChanges { // change type to input
name: String
email: String
}
```

### Minimal graphql.schema and models to reproduce
- Irrelevant

### versions
- [v0.16.0](https://gqlgen.com/master/v0.16.0).

贡献指南

打开贡献指南

调研方向

拼写错误位于文件 gqlgen/docs/content/reference/changesets.md 中。打开该文件,找到 UserChanges 的 GraphQL 类型定义,并将 'type' 改为 'input'。通过在本地检查文档或查看渲染后的 Markdown 来验证更改。不需要进行代码更改。

由索引模型根据 Issue 内容生成。

评估

技术栈
go, graphql
领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
85/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。