Schema generator failed for `/` character into enum
Đang mở
- Ngôn ngữ chính
- Go
- Star
- 10.8k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 36 phút
- Pull request đã merge (30 ngày)
- 26
Mô tả
### 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
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.