Changes to ExecutableSchema are not reflected in federation introspection queries
未关闭
- 主要语言
- Go
- 星标
- 10.8k
- 派生
- 1.3k
- 平均合并
- 2 天 36 分钟
- 30 天内合并 PR
- 26
描述
### What happened?
We modify our ExecutableSchema by augmenting the Definition value of some fields based on their directives before calling `handler.New` upon it. These augmented values are not visible in the introspection query results.
It appears that the query results are being driven only by the value of the `sources` global var in the package populated by gqlgen's codegen.
### What did you expect?
We expected to be able to see such changes in the introspection query results.
### versions
- `go run github.com/99designs/gqlgen version`?
v0.17.16
- `go version`?
go version go1.19.2 darwin/arm64
贡献指南
评估
这个 Issue 还没有评估数据。