MapColonies / MapColonies/code-generator
Excplicit graphQL nullable FALSE not working
未关闭
@asafMasa 已经在做这个了。
开始于 2021年5月18日。
bug
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
Describe the bug
When explicitly graphQL field decorated with nullable false in generated graphQL code still nullable(optional)
To Reproduce
Decorate filed as following
@graphql({
nullable: false
})
public id = 'UNKNOWN';
Expected behavior
In generated graphQL code field should be
@Field({ nullable: false })
public id: string;
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。