Object directive on root Mutation type doesn't have any effect
Đ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?
Placing a `OBJECT` directive on the root `Mutation` type doesn't get run
### What did you expect?
The directive should get run for the root nodes
### Minimal graphql.schema and models to reproduce
```gql
type Mutation @cacheControl(maxAge: 0) {
dummy: Boolean
}
directive @cacheControl(
maxAge: Int
) on OBJECT
```
### versions
- `gqlgen version`?
v0.13.0
- `go version`?
1.13
- dep or go modules?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.