Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tawalisa opened this issue Jan 19, 2024 · 0 comments
Open

Comments

@tawalisa
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant