graphql-go / graphql-go/graphql

`Object.AddFieldConfig` doesn't work with `FieldsThunk`

Open
#543 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.1k
Forks
845
PR merge metrics
No merged PRs in 30d

Description

`Object.AddFieldConfig` does't do anything with the objects made with `FieldsThunk`

because of the type cast in this line
https://github.com/graphql-go/graphql/blob/199d20bbfed70dae8c7d4619d4e0d339ce738b43/definition.go#L409-L417

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.