graphql-go / graphql-go/graphql

Is possible to typing typeConfig of graphql.Object after Object done.

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

Description

In fact , I am trying to write a schema parser to load definition from schema. https://github.com/tawalisa/GraphQL-Go-schema-parser
But I found the typeConfig is private once the Object is initial. In graphql-java, we still change resolver when schema initial done. But in graphql-go, we can not access typeConfig. Just is there any way to change resolver when schema initial done?

https://github.com/graphql-go/graphql/blob/master/definition.go#L342

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.