Schema generator failed for `/` character into enum
未关闭
- 主要语言
- Go
- 星标
- 10.8k
- 派生
- 1.3k
- 平均合并
- 2 天 36 分钟
- 30 天内合并 PR
- 26
描述
### What happened?
Enum with `/` character failed with error "Expected Name, found " during schema generation.
### What did you expect?
I expect to be able to specify every type of enum data, maybe using an escape character if needed.
### Minimal graphql.schema and models to reproduce
```
enum Season {
S/S
A/W
}
type Product {
name: String!
season: Season
}
type ProductInput {
name: String!
season: Season
}
```
### versions
- `gqlgen v0.11.1`
- `go version go1.14`
- via `go modules`
Thanks
Paolo
贡献指南
评估
这个 Issue 还没有评估数据。