Skip to content
Resolvers

Resolvers

A resolver is the Go function that produces the value of a field. The executor calls it with the parent value, the field’s arguments and information about the request, and completes what it returns according to the field’s type.

Fields without a resolver use the default resolver, which reads the value from the parent.

Last updated on